aboutsummaryrefslogtreecommitdiff
path: root/runtime/syntax/elmfilt.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/elmfilt.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/elmfilt.vim')
-rw-r--r--runtime/syntax/elmfilt.vim41
1 files changed, 20 insertions, 21 deletions
diff --git a/runtime/syntax/elmfilt.vim b/runtime/syntax/elmfilt.vim
index 5858946648..ec97af038d 100644
--- a/runtime/syntax/elmfilt.vim
+++ b/runtime/syntax/elmfilt.vim
@@ -1,8 +1,8 @@
" Vim syntax file
" Language: Elm Filter rules
" Maintainer: Charles E. Campbell <NdrOchipS@PcampbellAfamily.Mbiz>
-" Last Change: Oct 23, 2014
-" Version: 6
+" Last Change: Aug 31, 2016
+" Version: 8
" URL: http://www.drchip.org/astronaut/vim/index.html#SYNTAX_ELMFILT
" quit when a syntax file was already loaded
@@ -35,25 +35,24 @@ syn region elmfiltString contained start="'" skip="'\(\\\\\)*\\['%]" end="'" con
syn match elmfiltSpaceError contained "\s.*$"
" Define the default highlighting.
-" Only when an item doesn't have highlighting yet
-command -nargs=+ HiLink hi def link <args>
-
-HiLink elmfiltAction Statement
-HiLink elmfiltArg Special
-HiLink elmfiltComment Comment
-HiLink elmfiltCond Statement
-HiLink elmfiltIf Statement
-HiLink elmfiltMatch Special
-HiLink elmfiltMatchError Error
-HiLink elmfiltNumber Number
-HiLink elmfiltOper Operator
-HiLink elmfiltOperKey Type
-HiLink elmfiltParenError Error
-HiLink elmfiltSpaceError Error
-HiLink elmfiltString String
-HiLink elmfiltThenError Error
-
-delcommand HiLink
+if !exists("skip_elmfilt_syntax_inits")
+
+ hi def link elmfiltAction Statement
+ hi def link elmfiltArg Special
+ hi def link elmfiltComment Comment
+ hi def link elmfiltCond Statement
+ hi def link elmfiltIf Statement
+ hi def link elmfiltMatch Special
+ hi def link elmfiltMatchError Error
+ hi def link elmfiltNumber Number
+ hi def link elmfiltOper Operator
+ hi def link elmfiltOperKey Type
+ hi def link elmfiltParenError Error
+ hi def link elmfiltSpaceError Error
+ hi def link elmfiltString String
+ hi def link elmfiltThenError Error
+
+endif
let b:current_syntax = "elmfilt"
" vim: ts=9