summaryrefslogtreecommitdiff
path: root/runtime/syntax/group.vim
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2012-08-15 17:43:31 +0200
committerBram Moolenaar <Bram@vim.org>2012-08-15 17:43:31 +0200
commit9b4512500adfab4d44e957329d1a89e97e9a3930 (patch)
treeafb71cc9c0ca20c627152976791923513e69afff /runtime/syntax/group.vim
parentdd82d699c8cb3e60b2da968fb40622dc497f71ca (diff)
downloadvim-git-9b4512500adfab4d44e957329d1a89e97e9a3930.tar.gz
Update runtime files.
Diffstat (limited to 'runtime/syntax/group.vim')
-rw-r--r--runtime/syntax/group.vim6
1 files changed, 3 insertions, 3 deletions
diff --git a/runtime/syntax/group.vim b/runtime/syntax/group.vim
index ae5bfd855..ab2d56d6a 100644
--- a/runtime/syntax/group.vim
+++ b/runtime/syntax/group.vim
@@ -1,7 +1,7 @@
" Vim syntax file
" Language: group(5) user group file
" Maintainer: Nikolai Weibull <now@bitwi.se>
-" Latest Revision: 2006-04-19
+" Latest Revision: 2012-08-05
if exists("b:current_syntax")
finish
@@ -12,7 +12,7 @@ set cpo&vim
syn match groupBegin display '^' nextgroup=groupName
-syn match groupName contained display '[a-z_][a-z0-9_-]\{0,15}'
+syn match groupName contained display '[^:]\+'
\ nextgroup=groupPasswordColon
syn match groupPasswordColon contained display ':'
@@ -30,7 +30,7 @@ syn match groupGID contained display '\d*'
syn match groupUserListColon contained display ':' nextgroup=groupUserList
-syn match groupUserList contained '[a-z_][a-z0-9_-]*'
+syn match groupUserList contained '[^,]\+'
\ nextgroup=groupUserListSep
syn match groupUserListSep contained display ',' nextgroup=groupUserList