diff options
Diffstat (limited to 'runtime/syntax/resolv.vim')
-rw-r--r-- | runtime/syntax/resolv.vim | 48 |
1 files changed, 23 insertions, 25 deletions
diff --git a/runtime/syntax/resolv.vim b/runtime/syntax/resolv.vim index 1744e66f8..a879116a5 100644 --- a/runtime/syntax/resolv.vim +++ b/runtime/syntax/resolv.vim @@ -49,31 +49,29 @@ syn match resolvOption /\<\%(ndots\|timeout\|attempts\):\d\+\>/ contained contai " Additional errors syn match resolvError /^search .\{257,}/ -command! -nargs=+ HiLink hi def link <args> - -HiLink resolvIP Number -HiLink resolvIPNetmask Number -HiLink resolvHostname String -HiLink resolvOption String - -HiLink resolvIPNameserver Number -HiLink resolvHostnameSearch String -HiLink resolvIPNetmaskSortList Number - -HiLink resolvNameServer Identifier -HiLink resolvLwserver Identifier -HiLink resolvDomain Identifier -HiLink resolvSearch Identifier -HiLink resolvSortList Identifier -HiLink resolvOptions Identifier - -HiLink resolvComment Comment -HiLink resolvOperator Operator -HiLink resolvError Error -HiLink resolvIPError Error -HiLink resolvIPSpecial Special - -delcommand HiLink + +hi def link resolvIP Number +hi def link resolvIPNetmask Number +hi def link resolvHostname String +hi def link resolvOption String + +hi def link resolvIPNameserver Number +hi def link resolvHostnameSearch String +hi def link resolvIPNetmaskSortList Number + +hi def link resolvNameServer Identifier +hi def link resolvLwserver Identifier +hi def link resolvDomain Identifier +hi def link resolvSearch Identifier +hi def link resolvSortList Identifier +hi def link resolvOptions Identifier + +hi def link resolvComment Comment +hi def link resolvOperator Operator +hi def link resolvError Error +hi def link resolvIPError Error +hi def link resolvIPSpecial Special + let b:current_syntax = "resolv" |