Mercurial > vim
comparison runtime/syntax/viminfo.vim @ 9286:64035abb986b
commit https://github.com/vim/vim/commit/c95a302a4c42ec8230473cd4a5e0064d0a143aa8
Author: Bram Moolenaar <Bram@vim.org>
Date: Sun Jun 12 23:01:46 2016 +0200
Updated runtime files.
author | Christian Brabandt <cb@256bit.org> |
---|---|
date | Sun, 12 Jun 2016 23:15:06 +0200 |
parents | b7811ab264bf |
children | 4027cefc2aab |
comparison
equal
deleted
inserted
replaced
9285:3e510396a743 | 9286:64035abb986b |
---|---|
1 " Vim syntax file | 1 " Vim syntax file |
2 " Language: Vim .viminfo file | 2 " Language: Vim .viminfo file |
3 " Maintainer: Bram Moolenaar <Bram@vim.org> | 3 " Maintainer: Bram Moolenaar <Bram@vim.org> |
4 " Last Change: 2012 Feb 03 | 4 " Last Change: 2016 Jun 05 |
5 | 5 |
6 " Quit when a (custom) syntax file was already loaded | 6 " Quit when a (custom) syntax file was already loaded |
7 if exists("b:current_syntax") | 7 if exists("b:current_syntax") |
8 finish | 8 finish |
9 endif | 9 endif |
28 syn match viminfoOptionName "\*\a*"ms=s+1 contained | 28 syn match viminfoOptionName "\*\a*"ms=s+1 contained |
29 | 29 |
30 " Comments | 30 " Comments |
31 syn match viminfoComment "^#.*" | 31 syn match viminfoComment "^#.*" |
32 | 32 |
33 " New style lines. TODO: highlight numbers and strings. | |
34 syn match viminfoNew "^|.*" | |
35 | |
33 " Define the default highlighting. | 36 " Define the default highlighting. |
34 " Only used when an item doesn't have highlighting yet | 37 " Only used when an item doesn't have highlighting yet |
35 hi def link viminfoComment Comment | 38 hi def link viminfoComment Comment |
36 hi def link viminfoError Error | 39 hi def link viminfoError Error |
37 hi def link viminfoStatement Statement | 40 hi def link viminfoStatement Statement |
41 hi def link viminfoNew String | |
38 | 42 |
39 let b:current_syntax = "viminfo" | 43 let b:current_syntax = "viminfo" |
40 | 44 |
41 let &cpo = s:cpo_save | 45 let &cpo = s:cpo_save |
42 unlet s:cpo_save | 46 unlet s:cpo_save |