diff options
author | Bram Moolenaar <Bram@vim.org> | 2012-02-22 17:30:19 +0100 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2012-02-22 17:30:19 +0100 |
commit | db7207e6e51cf6677545e2f8e0aca427b3cf1956 (patch) | |
tree | 956dc0adb1d250813b9747027162703012bc4639 /runtime/syntax/resolv.vim | |
parent | 84a4c334e1b840d666d0a178b9e665b6041c6b78 (diff) | |
download | vim-db7207e6e51cf6677545e2f8e0aca427b3cf1956.zip |
Updated runtime files.
Diffstat (limited to 'runtime/syntax/resolv.vim')
-rw-r--r-- | runtime/syntax/resolv.vim | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/runtime/syntax/resolv.vim b/runtime/syntax/resolv.vim index 6ec42d27d..1c0f8467d 100644 --- a/runtime/syntax/resolv.vim +++ b/runtime/syntax/resolv.vim @@ -1,11 +1,10 @@ " Vim syntax file " Language: resolver configuration file -" Maintainer: David Ne\v{c}as (Yeti) <yeti@physics.muni.cz> +" Maintainer: David Necas (Yeti) <yeti@physics.muni.cz> " Original Maintaner: Radu Dineiu <littledragon@altern.org> " License: This file can be redistribued and/or modified under the same terms " as Vim itself. -" URL: http://trific.ath.cx/Ftp/vim/syntax/resolv.vim -" Last Change: 2006-04-16 +" Last Change: 2012-02-21 if version < 600 syntax clear @@ -26,7 +25,8 @@ syn match resolvIPSpecial /\%(127\.\d\{1,3}\.\d\{1,3}\.\d\{1,3}\)/ contained " General syn match resolvIP contained /\%(\d\{1,4}\.\)\{3}\d\{1,4}/ contains=@resolvIPCluster syn match resolvIPNetmask contained /\%(\d\{1,4}\.\)\{3}\d\{1,4}\%(\/\%(\%(\d\{1,4}\.\)\{,3}\d\{1,4}\)\)\?/ contains=resolvOperator,@resolvIPCluster -syn match resolvHostname contained /\w\{-}\.[-0-9A-Za-z_\.]*/ +syn match resolvHostname contained /\w\{-}\.[-0-9A-Za-z_.]*/ +syn match resolvDomainname contained /[-0-9A-Za-z_.]\+/ " Particular syn match resolvIPNameserver contained /\%(\%(\d\{1,4}\.\)\{3}\d\{1,4}\%(\s\|$\)\)\+/ contains=@resolvIPCluster @@ -36,7 +36,7 @@ syn match resolvIPNetmaskSortList contained /\%(\%(\d\{1,4}\.\)\{3}\d\{1,4}\%(\/ " Identifiers syn match resolvNameserver /^\s*nameserver\>/ nextgroup=resolvIPNameserver skipwhite syn match resolvLwserver /^\s*lwserver\>/ nextgroup=resolvIPNameserver skipwhite -syn match resolvDomain /^\s*domain\>/ nextgroup=resolvHostname skipwhite +syn match resolvDomain /^\s*domain\>/ nextgroup=resolvDomainname skipwhite syn match resolvSearch /^\s*search\>/ nextgroup=resolvHostnameSearch skipwhite syn match resolvSortList /^\s*sortlist\>/ nextgroup=resolvIPNetmaskSortList skipwhite syn match resolvOptions /^\s*options\>/ nextgroup=resolvOption skipwhite @@ -61,6 +61,7 @@ if version >= 508 || !exists("did_config_syntax_inits") HiLink resolvIP Number HiLink resolvIPNetmask Number HiLink resolvHostname String + HiLink resolvDomainname String HiLink resolvOption String HiLink resolvIPNameserver Number |