comparison runtime/syntax/indent.vim @ 2072:4a1bcdd9ea55

Updated runtime files.
author Bram Moolenaar <bram@zimbu.org>
date Thu, 11 Feb 2010 14:19:15 +0100
parents 82b5078be2dd
children 1218c5353e2b
comparison
equal deleted inserted replaced
2071:8a0a8f10b43e 2072:4a1bcdd9ea55
1 " Vim syntax file 1 " Vim syntax file
2 " Language: indent(1) configuration file 2 " Language: indent(1) configuration file
3 " Maintainer: Nikolai Weibull <now@bitwi.se> 3 " Maintainer: Nikolai Weibull <now@bitwi.se>
4 " Latest Revision: 2007-06-17 4 " Latest Revision: 2010-01-23
5 " indent_is_bsd: If exists, will change somewhat to match BSD implementation 5 " indent_is_bsd: If exists, will change somewhat to match BSD implementation
6 " 6 "
7 " TODO: is the deny-all (a la lilo.vim nice or no?)... 7 " TODO: is the deny-all (a la lilo.vim nice or no?)...
8 " irritating to be wrong to the last char... 8 " irritating to be wrong to the last char...
9 " would be sweet if right until one char fails 9 " would be sweet if right until one char fails
25 \ contains=indentTodo,@Spell 25 \ contains=indentTodo,@Spell
26 syn region indentComment start='//' skip='\\$' end='$' 26 syn region indentComment start='//' skip='\\$' end='$'
27 \ contains=indentTodo,@Spell 27 \ contains=indentTodo,@Spell
28 28
29 if !exists("indent_is_bsd") 29 if !exists("indent_is_bsd")
30 syn match indentOptions '-i\|--indentation-level' 30 syn match indentOptions '-i\|--indentation-level\|-il\|--indent-level'
31 \ nextgroup=indentNumber skipwhite skipempty 31 \ nextgroup=indentNumber skipwhite skipempty
32 endif 32 endif
33 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\)\)' 33 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\)\)'
34 \ nextgroup=indentNumber skipwhite skipempty 34 \ nextgroup=indentNumber skipwhite skipempty
35 35
121 \ -ss --space-special-semicolon 121 \ -ss --space-special-semicolon
122 \ -st --standard-output 122 \ -st --standard-output
123 \ -ut --use-tabs 123 \ -ut --use-tabs
124 \ -v --verbose 124 \ -v --verbose
125 \ -version --version 125 \ -version --version
126 \ -linux --linux-style
126 127
127 if exists("indent_is_bsd") 128 if exists("indent_is_bsd")
128 syn keyword indentOptions -ip -ei -nei 129 syn keyword indentOptions -ip -ei -nei
129 endif 130 endif
130 131