aboutsummaryrefslogtreecommitdiff
path: root/runtime/syntax/form.vim
diff options
context:
space:
mode:
authorJustin M. Keyes <justinkz@gmail.com>2017-04-28 21:14:34 +0200
committerJustin M. Keyes <justinkz@gmail.com>2017-04-28 21:25:15 +0200
commit86b596dc7a49f1b148ef82a356b972b93ed0f6d4 (patch)
tree3c20d0b13ed7e6db8cff6b50f1ee201b0330aab2 /runtime/syntax/form.vim
parenta53409b564458f7a94c8fcd0725d1953dee58dce (diff)
downloadrneovim-86b596dc7a49f1b148ef82a356b972b93ed0f6d4.tar.gz
rneovim-86b596dc7a49f1b148ef82a356b972b93ed0f6d4.tar.bz2
rneovim-86b596dc7a49f1b148ef82a356b972b93ed0f6d4.zip
vim-patch:f37506f60f87
Updated runtime files. Remove HiLink commands. https://github.com/vim/vim/commit/f37506f60f87d52a9e8850e30067645e2b13783c
Diffstat (limited to 'runtime/syntax/form.vim')
-rw-r--r--runtime/syntax/form.vim32
1 files changed, 15 insertions, 17 deletions
diff --git a/runtime/syntax/form.vim b/runtime/syntax/form.vim
index abd1c489dd..b8cb87c905 100644
--- a/runtime/syntax/form.vim
+++ b/runtime/syntax/form.vim
@@ -107,26 +107,25 @@ syn sync ccomment formComment minlines=10
" Define the default highlighting.
" Only when an item doesn't have highlighting yet
-command -nargs=+ HiLink hi def link <args>
-
-HiLink formConditional Conditional
-HiLink formNumber Number
-HiLink formStatement Statement
-HiLink formComment Comment
-HiLink formPreProc PreProc
-HiLink formDirective PreProc
-HiLink formType Type
-HiLink formString String
-HiLink formNestedString String
-HiLink formReserved Error
-HiLink formTodo Todo
-HiLink formSpecial SpecialChar
+
+hi def link formConditional Conditional
+hi def link formNumber Number
+hi def link formStatement Statement
+hi def link formComment Comment
+hi def link formPreProc PreProc
+hi def link formDirective PreProc
+hi def link formType Type
+hi def link formString String
+hi def link formNestedString String
+hi def link formReserved Error
+hi def link formTodo Todo
+hi def link formSpecial SpecialChar
if !exists("form_enhanced_color")
-HiLink formHeaderStatement Statement
+hi def link formHeaderStatement Statement
else
" enhanced color mode
-HiLink formHeaderStatement HeaderStatement
+hi def link formHeaderStatement HeaderStatement
" dark and a light background for local types
if &background == "dark"
hi HeaderStatement term=underline ctermfg=LightGreen guifg=LightGreen gui=bold
@@ -140,7 +139,6 @@ hi Statement guifg=LightYellow
endif
endif
-delcommand HiLink
let b:current_syntax = "form"