Mercurial > vim
comparison runtime/syntax/named.vim @ 44:af1bcb9a13c0
updated for version 7.0027
author | vimboss |
---|---|
date | Fri, 31 Dec 2004 20:56:11 +0000 |
parents | 3fc0f57ecb91 |
children | bd6c24f96e69 |
comparison
equal
deleted
inserted
replaced
43:f55897d6921d | 44:af1bcb9a13c0 |
---|---|
1 " Vim syntax file | 1 " Vim syntax file |
2 " Language: BIND 8.x configuration file | 2 " Language: BIND 8.x configuration file |
3 " Maintainer: glory hump <rnd@web-drive.ru> | 3 " Maintainer: glory hump <rnd@web-drive.ru> |
4 " Last change: Mon May 21 04:51:01 SAMST 2001 | 4 " Last change: Mon May 21 04:51:01 SAMST 2001 |
5 " Updated: by Martin Dalecki 2004-12-31 | |
5 " Filenames: named.conf | 6 " Filenames: named.conf |
6 " URL: http://rnd.web-drive.ru/vim/syntax/named.vim | 7 " URL: http://rnd.web-drive.ru/vim/syntax/named.vim [DEFUNCT] |
7 " $Id$ | 8 " $Id$ |
8 " | 9 " |
9 " NOTE | 10 " NOTE |
10 " it was not widely tested, i just tried it on my simple | 11 " it was not widely tested, i just tried it on my simple |
11 " single-master-single-slave configuration. most syntax was borrowed | 12 " single-master-single-slave configuration. most syntax was borrowed |
31 set cpo-=C | 32 set cpo-=C |
32 | 33 |
33 " BIND configuration file | 34 " BIND configuration file |
34 | 35 |
35 syn match namedComment "//.*" | 36 syn match namedComment "//.*" |
37 syn match namedComment "#.*" | |
36 syn region namedComment start="/\*" end="\*/" | 38 syn region namedComment start="/\*" end="\*/" |
37 syn region namedString start=/"/ end=/"/ contained | 39 syn region namedString start=/"/ end=/"/ contained |
38 " --- omitted trailing semicolon FIXME | 40 " --- omitted trailing semicolon |
39 syn match namedError /[^;{]$/ | 41 syn match namedError /[^;{#]$/ |
40 | 42 |
41 " --- top-level keywords | 43 " --- top-level keywords |
42 | 44 |
43 syn keyword namedInclude include nextgroup=namedString skipwhite | 45 syn keyword namedInclude include nextgroup=namedString skipwhite |
44 syn keyword namedKeyword acl key nextgroup=namedIntIdent skipwhite | 46 syn keyword namedKeyword acl key nextgroup=namedIntIdent skipwhite |