updated for version 7.1

This commit is contained in:
Bram Moolenaar
2007-05-12 14:23:41 +00:00
parent 52cda2b83e
commit e0d7b3c052
12 changed files with 18 additions and 18 deletions

View File

@ -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='/\*' end='\*/'
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-lines-after-ifdefs
\ -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")