diff options
author | Bram Moolenaar <Bram@vim.org> | 2012-05-18 13:46:39 +0200 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2012-05-18 13:46:39 +0200 |
commit | 1aeaf8c0e0421f34e51ef674f0c9a182debe77ae (patch) | |
tree | ac823e8259ccfd8c536bc34b1d1132e1538f1856 /runtime/syntax/resolv.vim | |
parent | dbb4a42cdc63933b11bcb9988d926421b3f5028d (diff) | |
download | vim-1aeaf8c0e0421f34e51ef674f0c9a182debe77ae.zip |
Updated runtime files.
Diffstat (limited to 'runtime/syntax/resolv.vim')
-rw-r--r-- | runtime/syntax/resolv.vim | 12 |
1 files changed, 5 insertions, 7 deletions
diff --git a/runtime/syntax/resolv.vim b/runtime/syntax/resolv.vim index 1c0f8467d..4892b83af 100644 --- a/runtime/syntax/resolv.vim +++ b/runtime/syntax/resolv.vim @@ -2,9 +2,9 @@ " Language: resolver configuration file " 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 +" License: This file can be redistributed and/or modified under the same terms " as Vim itself. -" Last Change: 2012-02-21 +" Last Change: 2012-05-15 if version < 600 syntax clear @@ -14,7 +14,7 @@ endif " Errors, comments and operators syn match resolvError /./ -syn match resolvComment /\s*[#;].*$/ +syn match resolvComment /\s*[#;].*$/ contains=@Spell syn match resolvOperator /[\/:]/ contained " IP @@ -25,8 +25,7 @@ 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 resolvDomainname contained /[-0-9A-Za-z_.]\+/ +syn match resolvHostname contained /\w\{-}\.[-0-9A-Za-z_\.]*/ " Particular syn match resolvIPNameserver contained /\%(\%(\d\{1,4}\.\)\{3}\d\{1,4}\%(\s\|$\)\)\+/ contains=@resolvIPCluster @@ -36,7 +35,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=resolvDomainname skipwhite +syn match resolvDomain /^\s*domain\>/ nextgroup=resolvHostname 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,7 +60,6 @@ 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 |