diff options
author | Bram Moolenaar <Bram@vim.org> | 2006-04-21 22:12:41 +0000 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2006-04-21 22:12:41 +0000 |
commit | 57657d85c6c3d812e99b5e5d5161c07c66ac7dc7 (patch) | |
tree | 35b6845dc38717148718ac5cf70553b8c2cb96d8 /runtime/syntax/passwd.vim | |
parent | fc1421eb53b17aa58b01a9c07ba2007eb4a1aa4f (diff) | |
download | vim-57657d85c6c3d812e99b5e5d5161c07c66ac7dc7.zip |
updated for version 7.0e05
Diffstat (limited to 'runtime/syntax/passwd.vim')
-rw-r--r-- | runtime/syntax/passwd.vim | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/runtime/syntax/passwd.vim b/runtime/syntax/passwd.vim index ffb979f71..2261d99dc 100644 --- a/runtime/syntax/passwd.vim +++ b/runtime/syntax/passwd.vim @@ -1,7 +1,7 @@ " Vim syntax file " Language: passwd(5) password file -" Maintainer: Nikolai Weibull <nikolai+work.vim@bitwi.se> -" Latest Revision: 2005-06-30 +" Maintainer: Nikolai Weibull <now@bitwi.se> +" Latest Revision: 2006-04-19 if exists("b:current_syntax") finish @@ -12,7 +12,7 @@ set cpo&vim syn match passwdBegin display '^' nextgroup=passwdAccount -syn match passwdAccount contained display '[a-z_][a-z0-9_-]*' +syn match passwdAccount contained display '[+-]\=[a-z_][a-z0-9_-]*' \ nextgroup=passwdPasswordColon syn match passwdPasswordColon contained display ':' @@ -26,12 +26,12 @@ syn match passwdShadow contained display '[x*!]' syn match passwdUIDColon contained display ':' nextgroup=passwdUID -syn match passwdUID contained display '\d\+' +syn match passwdUID contained display '\d*' \ nextgroup=passwdGIDColon syn match passwdGIDColon contained display ':' nextgroup=passwdGID -syn match passwdGID contained display '\d\+' +syn match passwdGID contained display '\d*' \ nextgroup=passwdGecosColon syn match passwdGecosColon contained display ':' nextgroup=passwdGecos @@ -47,7 +47,7 @@ syn match passwdDir contained display '/[^:]*' syn match passwdShellColon contained display ':' \ nextgroup=passwdShell -syn match passwdShell contained display '[/*][^:]*' +syn match passwdShell contained display '.*' hi def link passwdColon Normal hi def link passwdAccount Identifier |