diff runtime/syntax/indent.vim @ 1261:8fe7832b1e10

updated for version 7.1
author vimboss
date Sat, 12 May 2007 14:23:41 +0000
parents 8906c10ecbb0
children 82b5078be2dd
line wrap: on
line diff
--- a/runtime/syntax/indent.vim
+++ b/runtime/syntax/indent.vim
@@ -1,7 +1,7 @@
 " Vim syntax file
 " Language:         indent(1) configuration file
 " Maintainer:       Nikolai Weibull <now@bitwi.se>
-" Latest Revision:  2007-05-07
+" Latest Revision:  2007-05-10
 "   indent_is_bsd:  If exists, will change somewhat to match BSD implementation
 "
 " TODO: is the deny-all (a la lilo.vim nice or no?)...
@@ -26,17 +26,17 @@ syn region  indentComment start='/\*' en
 syn region  indentComment start='//' skip='\\$' end='$'
                           \ contains=indentTodo,@Spell
 
-syn match   indentOptions '-\%(bli\|c\%([bl]i\|[dip]\)\=\|di\=\|ip\=\|lc\=\|pp\=i\|sbi\|ts\|-\%(brace-indent\|comment-indentation\|case-brace-indentation\|declaration-comment-column\|continuation-indentation\|case-indentation\|else-endif-column\|line-comments-indentation\|declaration-indentation\|indent-level\|parameter-indentation\|line-length\|comment-line-length\|paren-indentation\|preprocessor-indentation\|struct-brace-indentation\|tab-size\)\)'
-                        \ nextgroup=indentNumber skipwhite skipnl
 if !exists("indent_is_bsd")
   syn match indentOptions '-i\|--indentation-level'
-                        \ nextgroup=indentNumber skipwhite skipnl
+                        \ nextgroup=indentNumber skipwhite skipempty
 endif
+syn match   indentOptions '-\%(bli\|c\%([bl]i\|[dip]\)\=\|di\=\|ip\=\|lc\=\|pp\=i\|sbi\|ts\|-\%(brace-indent\|comment-indentation\|case-brace-indentation\|declaration-comment-column\|continuation-indentation\|case-indentation\|else-endif-column\|line-comments-indentation\|declaration-indentation\|indent-level\|parameter-indentation\|line-length\|comment-line-length\|paren-indentation\|preprocessor-indentation\|struct-brace-indentation\|tab-size\)\)'
+                        \ nextgroup=indentNumber skipwhite skipempty
 
 syn match   indentNumber  display contained '\d\+\>'
 
 syn match   indentOptions '-T'
-                        \ nextgroup=indentIdent skipwhite skipnl
+                        \ nextgroup=indentIdent skipwhite skipempty
 
 syn match   indentIdent   display contained '\h\w*\>'
 
@@ -125,7 +125,7 @@ syn keyword indentOptions -bacc --blank-
                         \ -version --version
 
 if exists("indent_is_bsd")
-  syn keyword indentOptions -ip -nip -dj -ndj -ei -nei
+  syn keyword indentOptions -ip -ei -nei
 endif
 
 if exists("c_minlines")