summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--runtime/doc/quotes.txt2
-rw-r--r--runtime/doc/sign.txt2
-rw-r--r--runtime/doc/term.txt2
-rw-r--r--runtime/doc/usr_25.txt2
-rw-r--r--runtime/syntax/passwd.vim8
5 files changed, 8 insertions, 8 deletions
diff --git a/runtime/doc/quotes.txt b/runtime/doc/quotes.txt
index 0fbd8bfb5e..c4c5cf7851 100644
--- a/runtime/doc/quotes.txt
+++ b/runtime/doc/quotes.txt
@@ -1,4 +1,4 @@
-*quotes.txt* For Vim version 7.1a. Last change: 2006 Apr 24
+*quotes.txt* For Vim version 7.1b. Last change: 2006 Apr 24
VIM REFERENCE MANUAL by Bram Moolenaar
diff --git a/runtime/doc/sign.txt b/runtime/doc/sign.txt
index de12c32f79..b761abed26 100644
--- a/runtime/doc/sign.txt
+++ b/runtime/doc/sign.txt
@@ -1,4 +1,4 @@
-*sign.txt* For Vim version 7.1a. Last change: 2006 Apr 24
+*sign.txt* For Vim version 7.1b. Last change: 2006 Apr 24
VIM REFERENCE MANUAL by Gordon Prieur
diff --git a/runtime/doc/term.txt b/runtime/doc/term.txt
index 41fca5ffac..f92ec2295a 100644
--- a/runtime/doc/term.txt
+++ b/runtime/doc/term.txt
@@ -1,4 +1,4 @@
-*term.txt* For Vim version 7.1a. Last change: 2007 Feb 28
+*term.txt* For Vim version 7.1b. Last change: 2007 Feb 28
VIM REFERENCE MANUAL by Bram Moolenaar
diff --git a/runtime/doc/usr_25.txt b/runtime/doc/usr_25.txt
index 998cc1a253..b87ed6a829 100644
--- a/runtime/doc/usr_25.txt
+++ b/runtime/doc/usr_25.txt
@@ -1,4 +1,4 @@
-*usr_25.txt* For Vim version 7.1a. Last change: 2006 Jun 21
+*usr_25.txt* For Vim version 7.1b. Last change: 2006 Jun 21
VIM USER MANUAL - by Bram Moolenaar
diff --git a/runtime/syntax/passwd.vim b/runtime/syntax/passwd.vim
index 2261d99dcb..cdaed58cc0 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 <now@bitwi.se>
-" Latest Revision: 2006-04-19
+" Latest Revision: 2006-10-03
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 '[^:]\+'
\ 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\{0,10}'
\ nextgroup=passwdGIDColon
syn match passwdGIDColon contained display ':' nextgroup=passwdGID
-syn match passwdGID contained display '\d*'
+syn match passwdGID contained display '\d\{0,10}'
\ nextgroup=passwdGecosColon
syn match passwdGecosColon contained display ':' nextgroup=passwdGecos