Updated runtime files.
This commit is contained in:
@ -1,10 +1,15 @@
|
|||||||
" Vim completion script
|
" Vim completion script
|
||||||
" Language: All languages, uses existing syntax highlighting rules
|
" Language: All languages, uses existing syntax highlighting rules
|
||||||
" Maintainer: David Fishburn <dfishburn.vim@gmail.com>
|
" Maintainer: David Fishburn <dfishburn dot vim at gmail dot com>
|
||||||
" Version: 4.0
|
" Version: 5.0
|
||||||
" Last Change: Fri 26 Oct 2007 05:27:03 PM Eastern Daylight Time
|
" Last Change: 2010 Jan 31
|
||||||
" Usage: For detailed help, ":help ft-syntax-omni"
|
" Usage: For detailed help, ":help ft-syntax-omni"
|
||||||
|
|
||||||
|
" History
|
||||||
|
" Version 5.0
|
||||||
|
" When processing a list of syntax groups, the final group
|
||||||
|
" was missed in function SyntaxCSyntaxGroupItems.
|
||||||
|
"
|
||||||
" Set completion with CTRL-X CTRL-O to autoloaded function.
|
" Set completion with CTRL-X CTRL-O to autoloaded function.
|
||||||
" This check is in place in case this script is
|
" This check is in place in case this script is
|
||||||
" sourced directly instead of using the autoload feature.
|
" sourced directly instead of using the autoload feature.
|
||||||
@ -312,9 +317,13 @@ function! s:SyntaxCSyntaxGroupItems( group_name, syntax_full )
|
|||||||
" \zs - start the match
|
" \zs - start the match
|
||||||
" .\{-} - everything ...
|
" .\{-} - everything ...
|
||||||
" \ze - end the match
|
" \ze - end the match
|
||||||
|
" \( - start a group or 2 potential matches
|
||||||
" \n\w - at the first newline starting with a character
|
" \n\w - at the first newline starting with a character
|
||||||
|
" \| - 2nd potential match
|
||||||
|
" \%$ - matches end of the file or string
|
||||||
|
" \) - end a group
|
||||||
let syntax_group = matchstr(a:syntax_full,
|
let syntax_group = matchstr(a:syntax_full,
|
||||||
\ "\n".a:group_name.'\s\+xxx\s\+\zs.\{-}\ze'."\n".'\w'
|
\ "\n".a:group_name.'\s\+xxx\s\+\zs.\{-}\ze\(\n\w\|\%$\)'
|
||||||
\ )
|
\ )
|
||||||
|
|
||||||
if syntax_group != ""
|
if syntax_group != ""
|
||||||
|
|||||||
@ -1,4 +1,4 @@
|
|||||||
*eval.txt* For Vim version 7.2. Last change: 2010 Jan 05
|
*eval.txt* For Vim version 7.2. Last change: 2010 Jan 19
|
||||||
|
|
||||||
|
|
||||||
VIM REFERENCE MANUAL by Bram Moolenaar
|
VIM REFERENCE MANUAL by Bram Moolenaar
|
||||||
|
|||||||
@ -1,4 +1,4 @@
|
|||||||
*indent.txt* For Vim version 7.2. Last change: 2009 Nov 12
|
*indent.txt* For Vim version 7.2. Last change: 2010 Jan 27
|
||||||
|
|
||||||
|
|
||||||
VIM REFERENCE MANUAL by Bram Moolenaar
|
VIM REFERENCE MANUAL by Bram Moolenaar
|
||||||
@ -437,7 +437,7 @@ assume a 'shiftwidth' of 4.
|
|||||||
|
|
||||||
*N Vim searches for unclosed comments at most N lines away. This
|
*N Vim searches for unclosed comments at most N lines away. This
|
||||||
limits the time needed to search for the start of a comment.
|
limits the time needed to search for the start of a comment.
|
||||||
(default 30 lines).
|
(default 70 lines).
|
||||||
|
|
||||||
#N When N is non-zero recognize shell/Perl comments, starting with
|
#N When N is non-zero recognize shell/Perl comments, starting with
|
||||||
'#'. Default N is zero: don't recognizes '#' comments. Note
|
'#'. Default N is zero: don't recognizes '#' comments. Note
|
||||||
|
|||||||
@ -482,7 +482,7 @@ example: >
|
|||||||
{shellpipe} is the 'shellpipe' option.
|
{shellpipe} is the 'shellpipe' option.
|
||||||
{errorfile} is the 'makeef' option, with ## replaced to make it unique.
|
{errorfile} is the 'makeef' option, with ## replaced to make it unique.
|
||||||
|
|
||||||
The placeholder "$*" can be used for the argument list in {makeprog} if the
|
The placeholder "$*" can be used for the argument list in {makeprg} if the
|
||||||
command needs some additional characters after its arguments. The $* is
|
command needs some additional characters after its arguments. The $* is
|
||||||
replaced then by all arguments. Example: >
|
replaced then by all arguments. Example: >
|
||||||
:set makeprg=latex\ \\\\nonstopmode\ \\\\input\\{$*}
|
:set makeprg=latex\ \\\\nonstopmode\ \\\\input\\{$*}
|
||||||
@ -1212,7 +1212,7 @@ Maintaining the correct directory is more complicated if you don't use
|
|||||||
GNU-make. AIX-make for example doesn't print any information about its
|
GNU-make. AIX-make for example doesn't print any information about its
|
||||||
working directory. Then you need to enhance the makefile. In the makefile of
|
working directory. Then you need to enhance the makefile. In the makefile of
|
||||||
LessTif there is a command which echoes "Making {target} in {dir}". The
|
LessTif there is a command which echoes "Making {target} in {dir}". The
|
||||||
special problem here is that it doesn't print informations on leaving the
|
special problem here is that it doesn't print information on leaving the
|
||||||
directory and that it doesn't print the absolute path.
|
directory and that it doesn't print the absolute path.
|
||||||
|
|
||||||
To solve the problem with relative paths and missing "leave directory"
|
To solve the problem with relative paths and missing "leave directory"
|
||||||
|
|||||||
@ -340,7 +340,7 @@ a slash. Thus "-R" means recovery and "-/R" readonly.
|
|||||||
this to get 'compatible', even though a .vimrc file exists.
|
this to get 'compatible', even though a .vimrc file exists.
|
||||||
Keep in mind that the command ":set nocompatible" in some
|
Keep in mind that the command ":set nocompatible" in some
|
||||||
plugin or startup script overrules this, so you may end up
|
plugin or startup script overrules this, so you may end up
|
||||||
with 'nocmpatible' anyway. To find out, use: >
|
with 'nocompatible' anyway. To find out, use: >
|
||||||
:verbose set compatible?
|
:verbose set compatible?
|
||||||
< Several plugins won't work with 'compatible' set. You may
|
< Several plugins won't work with 'compatible' set. You may
|
||||||
want to set it after startup this way: >
|
want to set it after startup this way: >
|
||||||
|
|||||||
@ -6486,11 +6486,13 @@ mysql ft_sql.txt /*mysql*
|
|||||||
mysyntaxfile syntax.txt /*mysyntaxfile*
|
mysyntaxfile syntax.txt /*mysyntaxfile*
|
||||||
mysyntaxfile-add syntax.txt /*mysyntaxfile-add*
|
mysyntaxfile-add syntax.txt /*mysyntaxfile-add*
|
||||||
mysyntaxfile-replace syntax.txt /*mysyntaxfile-replace*
|
mysyntaxfile-replace syntax.txt /*mysyntaxfile-replace*
|
||||||
|
mzeval() eval.txt /*mzeval()*
|
||||||
mzscheme if_mzsch.txt /*mzscheme*
|
mzscheme if_mzsch.txt /*mzscheme*
|
||||||
mzscheme-buffer if_mzsch.txt /*mzscheme-buffer*
|
mzscheme-buffer if_mzsch.txt /*mzscheme-buffer*
|
||||||
mzscheme-commands if_mzsch.txt /*mzscheme-commands*
|
mzscheme-commands if_mzsch.txt /*mzscheme-commands*
|
||||||
mzscheme-dynamic if_mzsch.txt /*mzscheme-dynamic*
|
mzscheme-dynamic if_mzsch.txt /*mzscheme-dynamic*
|
||||||
mzscheme-examples if_mzsch.txt /*mzscheme-examples*
|
mzscheme-examples if_mzsch.txt /*mzscheme-examples*
|
||||||
|
mzscheme-mzeval if_mzsch.txt /*mzscheme-mzeval*
|
||||||
mzscheme-sandbox if_mzsch.txt /*mzscheme-sandbox*
|
mzscheme-sandbox if_mzsch.txt /*mzscheme-sandbox*
|
||||||
mzscheme-threads if_mzsch.txt /*mzscheme-threads*
|
mzscheme-threads if_mzsch.txt /*mzscheme-threads*
|
||||||
mzscheme-vim if_mzsch.txt /*mzscheme-vim*
|
mzscheme-vim if_mzsch.txt /*mzscheme-vim*
|
||||||
|
|||||||
@ -1,4 +1,4 @@
|
|||||||
*todo.txt* For Vim version 7.2. Last change: 2010 Jan 14
|
*todo.txt* For Vim version 7.2. Last change: 2010 Feb 09
|
||||||
|
|
||||||
|
|
||||||
VIM REFERENCE MANUAL by Bram Moolenaar
|
VIM REFERENCE MANUAL by Bram Moolenaar
|
||||||
@ -30,49 +30,39 @@ be worked on, but only if you sponsor Vim development. See |sponsor|.
|
|||||||
*known-bugs*
|
*known-bugs*
|
||||||
-------------------- Known bugs and current work -----------------------
|
-------------------- Known bugs and current work -----------------------
|
||||||
|
|
||||||
Patch from Dominique Pelle, documentation fixes. (2010 Jan 9)
|
Patch for crash in netbeans on join command. (Xavier de Gaye, 2010 Feb 5)
|
||||||
Another patch for README files.
|
|
||||||
|
|
||||||
Patch from Dominique Pelle for buffer reload when fixing spell mistake.
|
Patch for mzscheme docs. (Sergey Khorev, 2010 Jan 29)
|
||||||
(2010 Jan 14)
|
|
||||||
|
|
||||||
Extention for MzScheme interface. (Sergey Khorev, 2009 Dec 21, update Dec 26)
|
Patch to support netbeans in Unix console Vim. (Xavier de Gaye, 2009 Apr 26)
|
||||||
|
Now with Mercurial repository (2010 Jan 2)
|
||||||
|
|
||||||
patch from Sergey Khorev for "*" command escaping. (2010 Jan 5)
|
Warnings for Python 2.6.4. (Dominique Pelle, 2010 Jan 31)
|
||||||
|
|
||||||
Patch: :compiler command doesn't function properly when invoked in a function
|
Patch for better fix for Win64. (Sergey Khorev, 2010 Feb 4)
|
||||||
(Yukihiro Nakadaira)
|
|
||||||
|
Patch for error messages. (Dominique Pelle, 2010 Feb 5)
|
||||||
|
Patch for visual-operators text (Dominique Pelle, 2010 Feb 6)
|
||||||
|
|
||||||
|
Patch for Win64 MingW struct size. (Andy Kittner, 2010 Feb 7)
|
||||||
|
|
||||||
|
Patch for Perl interface with Perl 5.10. (Sergey Khorev, 2010 Feb 5)
|
||||||
|
|
||||||
|
Patch for xxd to support "-r -p" as documented. (James Vega, 2010 Feb 8)
|
||||||
|
|
||||||
|
Win32: patch for cross compile xxd and GvimExt. (Markus Heidelberg, 2009 Mar
|
||||||
|
18) Also update INSTALLpc.txt?
|
||||||
|
Patch for xxd/Make_cyg.mak. (Chris Sutcliffe, 2009 Jun 10) Included in the
|
||||||
|
above?
|
||||||
|
|
||||||
iconv() doesn't fail on an illegal character, as documented. (Yongwei Wu, 2009
|
iconv() doesn't fail on an illegal character, as documented. (Yongwei Wu, 2009
|
||||||
Nov 15, example Nov 26) Add argument to specify whether iconv() should fail
|
Nov 15, example Nov 26) Add argument to specify whether iconv() should fail
|
||||||
or replace with a character and continue?
|
or replace with a character and continue?
|
||||||
|
|
||||||
Problem with window jumping to other screen when changing font. (patch by
|
|
||||||
Michael Wookey, 2009 Oct 16)
|
|
||||||
Better: if the window offset was negative before changing something, then
|
|
||||||
don't change it.
|
|
||||||
|
|
||||||
Patch to make CTRL-] work on scheme keywords. (Sergey Khorev, 2010 Jan 5)
|
|
||||||
|
|
||||||
Gcc warning for condition that can never be true, fold.c line 3242. (James
|
|
||||||
Vega, 2010 Jan 13)
|
|
||||||
|
|
||||||
Omni menu position one column too far to the right, double-wide chars split to
|
|
||||||
next line. (Jiang Ma, 2010 Jan 10)
|
|
||||||
Explicit example from Dominique.
|
|
||||||
Need to check that the last character fits?
|
|
||||||
Patch from Dominique Pelle. (2010 Jan 12) One more (2010 Jan 12)
|
|
||||||
|
|
||||||
has("win64") returns zero. Patch from Sergey Khorev, 2009 Jan 5.
|
|
||||||
Or define WIN64 when _WIN64 is defined, change all _WIN64 to WIN64.
|
|
||||||
|
|
||||||
Add local time at start of --startuptime output.
|
Add local time at start of --startuptime output.
|
||||||
Requires configure check for localtime().
|
Requires configure check for localtime().
|
||||||
Use format year-month-day hr:min:sec.
|
Use format year-month-day hr:min:sec.
|
||||||
|
|
||||||
Patch to support netbeans in Unix console Vim. (Xaview de Gaye, 2009 Apr 26)
|
|
||||||
Now with Mercurial repository (2010 Jan 2)
|
|
||||||
|
|
||||||
Shell not recognized properly if it ends in "csh -f". (James Vega, 2009 Nov 3)
|
Shell not recognized properly if it ends in "csh -f". (James Vega, 2009 Nov 3)
|
||||||
Find tail? Might have a / in argument. Find space? Might have space in
|
Find tail? Might have a / in argument. Find space? Might have space in
|
||||||
path.
|
path.
|
||||||
@ -177,7 +167,7 @@ Problem with <script> mappings (Andy Wokula, 2009 Mar 8)
|
|||||||
|
|
||||||
Patch to support netbeans for Mac. (Kazuki Sakamoto, 2009 Jun 25)
|
Patch to support netbeans for Mac. (Kazuki Sakamoto, 2009 Jun 25)
|
||||||
|
|
||||||
Patch to support clibpoard for Mac terminal. (Jjgod Jiang, 2009 Aug 1)
|
Patch to support clipboard for Mac terminal. (Jjgod Jiang, 2009 Aug 1)
|
||||||
|
|
||||||
When starting Vim with "gvim -f -u non_existent_file > foo.txt" there are a
|
When starting Vim with "gvim -f -u non_existent_file > foo.txt" there are a
|
||||||
few control characters in the output. (Dale Wiles, 2009 May 28)
|
few control characters in the output. (Dale Wiles, 2009 May 28)
|
||||||
@ -191,6 +181,7 @@ J. Wang, 2009 Mar 31)
|
|||||||
Patch for vertical line at certain column position, 'guidecolumn' option.
|
Patch for vertical line at certain column position, 'guidecolumn' option.
|
||||||
(Pankaj Garg, 2009 Apr 14, aka Lone, Apr 15)
|
(Pankaj Garg, 2009 Apr 14, aka Lone, Apr 15)
|
||||||
Update 2009 May 2, 'margincolumn'
|
Update 2009 May 2, 'margincolumn'
|
||||||
|
Alternative patch. (2010 Feb 2, Gregor Uhlenheuer)
|
||||||
|
|
||||||
Add different highlighting for a fold line depending on the fold level.
|
Add different highlighting for a fold line depending on the fold level.
|
||||||
Patch. (Noel Henson, 2009 Sep 13)
|
Patch. (Noel Henson, 2009 Sep 13)
|
||||||
@ -258,11 +249,6 @@ Kondakoff, 2009 May 13)
|
|||||||
|
|
||||||
Win32 GUI: Changing manifest helps for dpi changes (Joe Castro, 2009 Mar 27)
|
Win32 GUI: Changing manifest helps for dpi changes (Joe Castro, 2009 Mar 27)
|
||||||
|
|
||||||
Win32: patch for cross compile xxd and GvimExt. (Markus Heidelberg, 2009 Mar
|
|
||||||
18) Also update INSTALLpc.txt?
|
|
||||||
Patch for xxd/Make_cyg.mak. (Chris Sutcliffe, 2009 Jun 10) Included in the
|
|
||||||
above?
|
|
||||||
|
|
||||||
Win32: patch for better font scaling. (George Reilly, 2009 Mar 26)
|
Win32: patch for better font scaling. (George Reilly, 2009 Mar 26)
|
||||||
|
|
||||||
Win32 GUI: last message from startup doesn't show up when there is an echoerr
|
Win32 GUI: last message from startup doesn't show up when there is an echoerr
|
||||||
@ -856,6 +842,9 @@ When 'backupskip' is set from $TEMP special characters need to be escaped.
|
|||||||
Another problem is that file_pat_to_reg_pat() doesn't recognize "\\", so "\\("
|
Another problem is that file_pat_to_reg_pat() doesn't recognize "\\", so "\\("
|
||||||
will be seen as a path separator plus "\(".
|
will be seen as a path separator plus "\(".
|
||||||
|
|
||||||
|
gvim d:\path\path\(FILE).xml should not remove the \ before the (.
|
||||||
|
This also fails with --remote.
|
||||||
|
|
||||||
When doing ":quit" the Netbeans "killed" event isn't sent. (Xavier de Gaye,
|
When doing ":quit" the Netbeans "killed" event isn't sent. (Xavier de Gaye,
|
||||||
2008 Nov 10) call netbeans_file_closed() at the end of buf_freeall(), or in
|
2008 Nov 10) call netbeans_file_closed() at the end of buf_freeall(), or in
|
||||||
all places where buf_freeall() is called?
|
all places where buf_freeall() is called?
|
||||||
@ -920,7 +909,7 @@ Win32: When 'autochdir' is on and 'encoding' is changed, files on the command
|
|||||||
line are opened again, but from the wrong directory. Apply 'autochdir' only
|
line are opened again, but from the wrong directory. Apply 'autochdir' only
|
||||||
after starting up?
|
after starting up?
|
||||||
|
|
||||||
When showing a diff between a non-existant file and an existing one, with the
|
When showing a diff between a non-existent file and an existing one, with the
|
||||||
cursor in the empty buffer, the other buffer only shows the last line. Change
|
cursor in the empty buffer, the other buffer only shows the last line. Change
|
||||||
the "insert" into a change from one line to many? (Yakov Lerner, 2008 May 27)
|
the "insert" into a change from one line to many? (Yakov Lerner, 2008 May 27)
|
||||||
|
|
||||||
@ -1046,7 +1035,7 @@ visible.
|
|||||||
GTK: when setting 'columns' in a startup script and doing ":vertical diffsplit"
|
GTK: when setting 'columns' in a startup script and doing ":vertical diffsplit"
|
||||||
the window isn't redrawn properly, see two vertical bars.
|
the window isn't redrawn properly, see two vertical bars.
|
||||||
|
|
||||||
GTK: file choser is disabled. Patch by Tim Starling, 2009 Nov 13.
|
GTK: file chooser is disabled. Patch by Tim Starling, 2009 Nov 13.
|
||||||
|
|
||||||
The magic clipboard format "VimClipboard2" appears in several places. Should
|
The magic clipboard format "VimClipboard2" appears in several places. Should
|
||||||
be only one.
|
be only one.
|
||||||
@ -2315,7 +2304,7 @@ Spell checking:
|
|||||||
Is COMPLEXPREFIXES necessary when we have flags for affixes?
|
Is COMPLEXPREFIXES necessary when we have flags for affixes?
|
||||||
- Support spelling words in CamelCase as if they were two separate words.
|
- Support spelling words in CamelCase as if they were two separate words.
|
||||||
Requires some option to enable it. (Timothy Knox)
|
Requires some option to enable it. (Timothy Knox)
|
||||||
- There is no Finnish spell checking file. For openoffic Voikko is now
|
- There is no Finnish spell checking file. For openoffice Voikko is now
|
||||||
used, which is based on Malaga: http://home.arcor.de/bjoern-beutel/malaga/
|
used, which is based on Malaga: http://home.arcor.de/bjoern-beutel/malaga/
|
||||||
(Teemu Likonen)
|
(Teemu Likonen)
|
||||||
8 ":mkspell" still takes much too long in Hungarian dictionary from
|
8 ":mkspell" still takes much too long in Hungarian dictionary from
|
||||||
|
|||||||
@ -11170,7 +11170,7 @@ Files: runtime/doc/help.txt, runtime/doc/sponsor.txt, runtime/doc/tags,
|
|||||||
runtime/menu.vim, src/version.c
|
runtime/menu.vim, src/version.c
|
||||||
|
|
||||||
Patch 6.2.192
|
Patch 6.2.192
|
||||||
Problem: Using CTRL-T and CTRL-D with "gR" messes up the text. (Jonahtan
|
Problem: Using CTRL-T and CTRL-D with "gR" messes up the text. (Jonathan
|
||||||
Hankins)
|
Hankins)
|
||||||
Solution: Avoid calling change_indent() recursively.
|
Solution: Avoid calling change_indent() recursively.
|
||||||
Files: src/edit.c
|
Files: src/edit.c
|
||||||
|
|||||||
@ -4734,7 +4734,7 @@ New keymap files:
|
|||||||
Other new runtime files:
|
Other new runtime files:
|
||||||
Esperanto menu and message translations. (Dominique Pelle)
|
Esperanto menu and message translations. (Dominique Pelle)
|
||||||
Finnish menu and message translations. (Flammie Pirinen)
|
Finnish menu and message translations. (Flammie Pirinen)
|
||||||
Brazilian Portugese message translations. (Eduardo Dobay)
|
Brazilian Portuguese message translations. (Eduardo Dobay)
|
||||||
|
|
||||||
Added floating point support. |Float|
|
Added floating point support. |Float|
|
||||||
|
|
||||||
@ -4925,7 +4925,7 @@ Files: src/fileio.c, src/os_unix.h
|
|||||||
|
|
||||||
Patch 7.1.028
|
Patch 7.1.028
|
||||||
Problem: Can't use last search pattern for ":sort". (Brian McKee)
|
Problem: Can't use last search pattern for ":sort". (Brian McKee)
|
||||||
Solution: When the pattern is emtpy use the last search pattern. (Martin
|
Solution: When the pattern is empty use the last search pattern. (Martin
|
||||||
Toft)
|
Toft)
|
||||||
Files: runtime/doc/change.txt, src/ex_cmds.c
|
Files: runtime/doc/change.txt, src/ex_cmds.c
|
||||||
|
|
||||||
@ -5463,7 +5463,7 @@ Solution: Remove the replacement with a question mark when UNICODE16 is not
|
|||||||
Files: src/screen.c
|
Files: src/screen.c
|
||||||
|
|
||||||
Patch 7.1.117
|
Patch 7.1.117
|
||||||
Problem: Can't check wether Vim was compiled with Gnome. (Tony Mechelynck)
|
Problem: Can't check whether Vim was compiled with Gnome. (Tony Mechelynck)
|
||||||
Solution: Add gui_gnome to the has() list.
|
Solution: Add gui_gnome to the has() list.
|
||||||
Files: src/eval.c
|
Files: src/eval.c
|
||||||
|
|
||||||
|
|||||||
@ -1,7 +1,7 @@
|
|||||||
" Vim syntax file
|
" Vim syntax file
|
||||||
" Language: indent(1) configuration file
|
" Language: indent(1) configuration file
|
||||||
" Maintainer: Nikolai Weibull <now@bitwi.se>
|
" Maintainer: Nikolai Weibull <now@bitwi.se>
|
||||||
" Latest Revision: 2007-06-17
|
" Latest Revision: 2010-01-23
|
||||||
" indent_is_bsd: If exists, will change somewhat to match BSD implementation
|
" indent_is_bsd: If exists, will change somewhat to match BSD implementation
|
||||||
"
|
"
|
||||||
" TODO: is the deny-all (a la lilo.vim nice or no?)...
|
" TODO: is the deny-all (a la lilo.vim nice or no?)...
|
||||||
@ -27,7 +27,7 @@ syn region indentComment start='//' skip='\\$' end='$'
|
|||||||
\ contains=indentTodo,@Spell
|
\ contains=indentTodo,@Spell
|
||||||
|
|
||||||
if !exists("indent_is_bsd")
|
if !exists("indent_is_bsd")
|
||||||
syn match indentOptions '-i\|--indentation-level'
|
syn match indentOptions '-i\|--indentation-level\|-il\|--indent-level'
|
||||||
\ nextgroup=indentNumber skipwhite skipempty
|
\ nextgroup=indentNumber skipwhite skipempty
|
||||||
endif
|
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\)\)'
|
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\)\)'
|
||||||
@ -123,6 +123,7 @@ syn keyword indentOptions -bacc --blank-lines-after-ifdefs
|
|||||||
\ -ut --use-tabs
|
\ -ut --use-tabs
|
||||||
\ -v --verbose
|
\ -v --verbose
|
||||||
\ -version --version
|
\ -version --version
|
||||||
|
\ -linux --linux-style
|
||||||
|
|
||||||
if exists("indent_is_bsd")
|
if exists("indent_is_bsd")
|
||||||
syn keyword indentOptions -ip -ei -nei
|
syn keyword indentOptions -ip -ei -nei
|
||||||
|
|||||||
@ -1,8 +1,8 @@
|
|||||||
" Vim syntax file
|
" Vim syntax file
|
||||||
" Language: lilo configuration (lilo.conf)
|
" Language: lilo configuration (lilo.conf)
|
||||||
" Maintainer: help wanted!
|
" Maintainer: Niels Horn <niels.horn@gmail.com>
|
||||||
" Previous Maintainer: David Necas (Yeti) <yeti@physics.muni.cz>
|
" Previous Maintainer: David Necas (Yeti) <yeti@physics.muni.cz>
|
||||||
" Last Change: 2009-01-27
|
" Last Change: 2010-02-03
|
||||||
|
|
||||||
" Setup
|
" Setup
|
||||||
if version >= 600
|
if version >= 600
|
||||||
|
|||||||
@ -1,7 +1,7 @@
|
|||||||
" Vim syntax file
|
" Vim syntax file
|
||||||
" Language: reStructuredText documentation format
|
" Language: reStructuredText documentation format
|
||||||
" Maintainer: Nikolai Weibull <now@bitwi.se>
|
" Maintainer: Nikolai Weibull <now@bitwi.se>
|
||||||
" Latest Revision: 2009-05-25
|
" Latest Revision: 2010-01-23
|
||||||
|
|
||||||
if exists("b:current_syntax")
|
if exists("b:current_syntax")
|
||||||
finish
|
finish
|
||||||
@ -137,7 +137,7 @@ syn match rstStandaloneHyperlink contains=@NoSpell
|
|||||||
|
|
||||||
" TODO: Use better syncing. I don’t know the specifics of syncing well enough,
|
" TODO: Use better syncing. I don’t know the specifics of syncing well enough,
|
||||||
" though.
|
" though.
|
||||||
syn sync minlines=50
|
syn sync minlines=50 linebreaks=1
|
||||||
|
|
||||||
hi def link rstTodo Todo
|
hi def link rstTodo Todo
|
||||||
hi def link rstComment Comment
|
hi def link rstComment Comment
|
||||||
|
|||||||
@ -1,7 +1,7 @@
|
|||||||
" Vim syntax file
|
" Vim syntax file
|
||||||
" Language: Zsh shell script
|
" Language: Zsh shell script
|
||||||
" Maintainer: Nikolai Weibull <now@bitwi.se>
|
" Maintainer: Nikolai Weibull <now@bitwi.se>
|
||||||
" Latest Revision: 2008-07-17
|
" Latest Revision: 2010-01-23
|
||||||
|
|
||||||
if exists("b:current_syntax")
|
if exists("b:current_syntax")
|
||||||
finish
|
finish
|
||||||
@ -14,7 +14,7 @@ setlocal iskeyword+=-
|
|||||||
|
|
||||||
syn keyword zshTodo contained TODO FIXME XXX NOTE
|
syn keyword zshTodo contained TODO FIXME XXX NOTE
|
||||||
|
|
||||||
syn region zshComment display oneline start='\%(^\|\s\)#' end='$'
|
syn region zshComment oneline start='\%(^\|\s\)#' end='$'
|
||||||
\ contains=zshTodo,@Spell
|
\ contains=zshTodo,@Spell
|
||||||
|
|
||||||
syn match zshPreProc '^\%1l#\%(!\|compdef\|autoload\).*$'
|
syn match zshPreProc '^\%1l#\%(!\|compdef\|autoload\).*$'
|
||||||
|
|||||||
Reference in New Issue
Block a user