diff options
author | Justin M. Keyes <justinkz@gmail.com> | 2017-04-28 21:06:44 +0200 |
---|---|---|
committer | Justin M. Keyes <justinkz@gmail.com> | 2017-04-28 21:13:55 +0200 |
commit | a53409b564458f7a94c8fcd0725d1953dee58dce (patch) | |
tree | 27bf0fa5f804d33455b66814c62a0f3358809d1b /runtime/syntax/mush.vim | |
parent | f09651ea78b833d6d05db89c41df603b741ab000 (diff) | |
download | rneovim-a53409b564458f7a94c8fcd0725d1953dee58dce.tar.gz rneovim-a53409b564458f7a94c8fcd0725d1953dee58dce.tar.bz2 rneovim-a53409b564458f7a94c8fcd0725d1953dee58dce.zip |
vim-patch:89bcfda6834a
Updated runtime files. Remove version checks for Vim older than 6.0.
https://github.com/vim/vim/commit/89bcfda6834aba724d12554a34b9ed49f5789fd5
Diffstat (limited to 'runtime/syntax/mush.vim')
-rw-r--r-- | runtime/syntax/mush.vim | 60 |
1 files changed, 25 insertions, 35 deletions
diff --git a/runtime/syntax/mush.vim b/runtime/syntax/mush.vim index 0645f33565..cf95d2a9e9 100644 --- a/runtime/syntax/mush.vim +++ b/runtime/syntax/mush.vim @@ -3,11 +3,8 @@ " Based on vim Syntax file by: Bek Oberin <gossamer@tertius.net.au> " Last Updated: Fri Nov 04 20:28:15 2005 " -" For version 5.x: Clear all syntax items -" For version 6.x: Quit when a syntax file was already loaded -if version < 600 - syntax clear -elseif exists("b:current_syntax") +" quit when a syntax file was already loaded +if exists("b:current_syntax") finish endif @@ -185,42 +182,35 @@ syntax keyword mushAttribute use va vb vc vd ve vf vg vh vi vj vk vl vm vn syntax keyword mushAttribute vo vp vq vr vs vt vu vv vw vx vy vz -if version >= 508 || !exists("did_mush_syntax_inits") - if version < 508 - let did_mush_syntax_inits = 1 - command -nargs=+ HiLink hi link <args> - else - command -nargs=+ HiLink hi def link <args> - endif - - " The default methods for highlighting. Can be overridden later - HiLink mushAttribute Constant - HiLink mushCommand Function - HiLink mushNumber Number - HiLink mushSetting PreProc - HiLink mushFunction Statement - HiLink mushVariable Identifier - HiLink mushSpecial Special - HiLink mushTodo Todo - HiLink mushFlag Special - HiLink mushIdentifier Identifier - HiLink mushDefine Macro - HiLink mushPreProc PreProc - HiLink mushPreProcGroup PreProc - HiLink mushPreCondit PreCondit - HiLink mushIncluded cString - HiLink mushInclude Include +command -nargs=+ HiLink hi def link <args> + +" The default methods for highlighting. Can be overridden later +HiLink mushAttribute Constant +HiLink mushCommand Function +HiLink mushNumber Number +HiLink mushSetting PreProc +HiLink mushFunction Statement +HiLink mushVariable Identifier +HiLink mushSpecial Special +HiLink mushTodo Todo +HiLink mushFlag Special +HiLink mushIdentifier Identifier +HiLink mushDefine Macro +HiLink mushPreProc PreProc +HiLink mushPreProcGroup PreProc +HiLink mushPreCondit PreCondit +HiLink mushIncluded cString +HiLink mushInclude Include " Comments - HiLink mushCommentStart mushComment - HiLink mushComment Comment - HiLink mushCommentString mushString +HiLink mushCommentStart mushComment +HiLink mushComment Comment +HiLink mushCommentString mushString - delcommand HiLink -endif +delcommand HiLink let b:current_syntax = "mush" |