Wednesday, October 5, 2011

group.vim syntax update

To be consistent with passwd.vim (as well as allowing modern group
syntax, please
apply the following diff to syntax/group.vim.).... Bugs me everytime I
reinstall to have
to fix this...

--- syntax/group.vim Wed Oct 27 08:42:54 2010
+++ syntax/group.vim Tue Oct 04 15:06:26 2011
@@ -12,7 +12,7 @@

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 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

--
You received this message from the "vim_use" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

No comments: