mirror of
https://github.com/vim/vim.git
synced 2025-07-26 11:04:33 -04:00
Update runtime files.
This commit is contained in:
parent
c0a37b9db3
commit
0122c4070f
@ -1104,7 +1104,7 @@ There are nine types of registers: *registers* *E354*
|
|||||||
3. The small delete register "-
|
3. The small delete register "-
|
||||||
4. 26 named registers "a to "z or "A to "Z
|
4. 26 named registers "a to "z or "A to "Z
|
||||||
5. three read-only registers ":, "., "%
|
5. three read-only registers ":, "., "%
|
||||||
7. alternate buffer register "#
|
6. alternate buffer register "#
|
||||||
7. the expression register "=
|
7. the expression register "=
|
||||||
8. The selection and drop registers "*, "+ and "~
|
8. The selection and drop registers "*, "+ and "~
|
||||||
9. The black hole register "_
|
9. The black hole register "_
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
*diff.txt* For Vim version 7.4. Last change: 2014 Oct 31
|
*diff.txt* For Vim version 7.4. Last change: 2015 Feb 03
|
||||||
|
|
||||||
|
|
||||||
VIM REFERENCE MANUAL by Bram Moolenaar
|
VIM REFERENCE MANUAL by Bram Moolenaar
|
||||||
@ -314,6 +314,19 @@ name or a part of a buffer name. Examples:
|
|||||||
|
|
||||||
Also see |'diffopt'| and the "diff" item of |'fillchars'|.
|
Also see |'diffopt'| and the "diff" item of |'fillchars'|.
|
||||||
|
|
||||||
|
*diff-slow* *diff_translations*
|
||||||
|
For very long lines, the diff syntax highlighting might be slow, especially
|
||||||
|
since it tries to match all different kind of localisations. To disable
|
||||||
|
localisations and speed up the syntax highlighting, set the global variable
|
||||||
|
g:diff_translations to zero: >
|
||||||
|
|
||||||
|
let g:diff_translations = 0
|
||||||
|
<
|
||||||
|
After setting this variable, Reload the syntax script: >
|
||||||
|
|
||||||
|
set syntax=diff
|
||||||
|
<
|
||||||
|
|
||||||
|
|
||||||
FINDING THE DIFFERENCES *diff-diffexpr*
|
FINDING THE DIFFERENCES *diff-diffexpr*
|
||||||
|
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
*eval.txt* For Vim version 7.4. Last change: 2015 Jan 27
|
*eval.txt* For Vim version 7.4. Last change: 2015 Jan 29
|
||||||
|
|
||||||
|
|
||||||
VIM REFERENCE MANUAL by Bram Moolenaar
|
VIM REFERENCE MANUAL by Bram Moolenaar
|
||||||
@ -4766,6 +4766,7 @@ printf({fmt}, {expr1} ...) *printf()*
|
|||||||
s The text of the String argument is used. If a
|
s The text of the String argument is used. If a
|
||||||
precision is specified, no more bytes than the number
|
precision is specified, no more bytes than the number
|
||||||
specified are used.
|
specified are used.
|
||||||
|
*printf-S*
|
||||||
S The text of the String argument is used. If a
|
S The text of the String argument is used. If a
|
||||||
precision is specified, no more display cells than the
|
precision is specified, no more display cells than the
|
||||||
number specified are used. Without the |+multi_byte|
|
number specified are used. Without the |+multi_byte|
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
*options.txt* For Vim version 7.4. Last change: 2014 Dec 17
|
*options.txt* For Vim version 7.4. Last change: 2015 Jan 27
|
||||||
|
|
||||||
|
|
||||||
VIM REFERENCE MANUAL by Bram Moolenaar
|
VIM REFERENCE MANUAL by Bram Moolenaar
|
||||||
@ -1316,6 +1316,8 @@ A jump table for the options with a short description can be found at |Q_op|.
|
|||||||
nofile only: The buffer name is fixed, it is not handled like a
|
nofile only: The buffer name is fixed, it is not handled like a
|
||||||
file name. It is not modified in response to a |:cd|
|
file name. It is not modified in response to a |:cd|
|
||||||
command.
|
command.
|
||||||
|
nofile only: When using ":e bufname" and already editing "bufname"
|
||||||
|
nothing changes, since there is no file to edit.
|
||||||
*E676*
|
*E676*
|
||||||
"acwrite" implies that the buffer name is not related to a file, like
|
"acwrite" implies that the buffer name is not related to a file, like
|
||||||
"nofile", but it will be written. Thus, in contrast to "nofile" and
|
"nofile", but it will be written. Thus, in contrast to "nofile" and
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
*syntax.txt* For Vim version 7.4. Last change: 2015 Jan 07
|
*syntax.txt* For Vim version 7.4. Last change: 2015 Feb 03
|
||||||
|
|
||||||
|
|
||||||
VIM REFERENCE MANUAL by Bram Moolenaar
|
VIM REFERENCE MANUAL by Bram Moolenaar
|
||||||
@ -1135,6 +1135,8 @@ there are very long lines in the file. To disable translations: >
|
|||||||
|
|
||||||
:let diff_translations = 0
|
:let diff_translations = 0
|
||||||
|
|
||||||
|
Also see |diff-slow|.
|
||||||
|
|
||||||
|
|
||||||
DIRCOLORS *dircolors.vim* *ft-dircolors-syntax*
|
DIRCOLORS *dircolors.vim* *ft-dircolors-syntax*
|
||||||
|
|
||||||
|
@ -5416,10 +5416,12 @@ diff-mode diff.txt /*diff-mode*
|
|||||||
diff-options diff.txt /*diff-options*
|
diff-options diff.txt /*diff-options*
|
||||||
diff-original-file diff.txt /*diff-original-file*
|
diff-original-file diff.txt /*diff-original-file*
|
||||||
diff-patchexpr diff.txt /*diff-patchexpr*
|
diff-patchexpr diff.txt /*diff-patchexpr*
|
||||||
|
diff-slow diff.txt /*diff-slow*
|
||||||
diff.txt diff.txt /*diff.txt*
|
diff.txt diff.txt /*diff.txt*
|
||||||
diff.vim syntax.txt /*diff.vim*
|
diff.vim syntax.txt /*diff.vim*
|
||||||
diff_filler() eval.txt /*diff_filler()*
|
diff_filler() eval.txt /*diff_filler()*
|
||||||
diff_hlID() eval.txt /*diff_hlID()*
|
diff_hlID() eval.txt /*diff_hlID()*
|
||||||
|
diff_translations diff.txt /*diff_translations*
|
||||||
digraph digraph.txt /*digraph*
|
digraph digraph.txt /*digraph*
|
||||||
digraph-arg change.txt /*digraph-arg*
|
digraph-arg change.txt /*digraph-arg*
|
||||||
digraph-encoding digraph.txt /*digraph-encoding*
|
digraph-encoding digraph.txt /*digraph-encoding*
|
||||||
@ -7461,6 +7463,7 @@ printf() eval.txt /*printf()*
|
|||||||
printf-% eval.txt /*printf-%*
|
printf-% eval.txt /*printf-%*
|
||||||
printf-E eval.txt /*printf-E*
|
printf-E eval.txt /*printf-E*
|
||||||
printf-G eval.txt /*printf-G*
|
printf-G eval.txt /*printf-G*
|
||||||
|
printf-S eval.txt /*printf-S*
|
||||||
printf-X eval.txt /*printf-X*
|
printf-X eval.txt /*printf-X*
|
||||||
printf-c eval.txt /*printf-c*
|
printf-c eval.txt /*printf-c*
|
||||||
printf-d eval.txt /*printf-d*
|
printf-d eval.txt /*printf-d*
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
*todo.txt* For Vim version 7.4. Last change: 2015 Jan 23
|
*todo.txt* For Vim version 7.4. Last change: 2015 Feb 03
|
||||||
|
|
||||||
|
|
||||||
VIM REFERENCE MANUAL by Bram Moolenaar
|
VIM REFERENCE MANUAL by Bram Moolenaar
|
||||||
@ -35,8 +35,6 @@ not be repeated below, unless there is extra information.
|
|||||||
-------------------- Known bugs and current work -----------------------
|
-------------------- Known bugs and current work -----------------------
|
||||||
|
|
||||||
Regexp problems:
|
Regexp problems:
|
||||||
- The NFA engine does not implement the time limit passed to
|
|
||||||
nfa_regexec_multi()
|
|
||||||
- Using win_linetabsize() can still be slow. Cache the result, store col and
|
- Using win_linetabsize() can still be slow. Cache the result, store col and
|
||||||
vcol. Reset them when moving to another line.
|
vcol. Reset them when moving to another line.
|
||||||
- Very slow with a long line and Ruby highlighting. (John Whitley, 2014 Dec 4)
|
- Very slow with a long line and Ruby highlighting. (John Whitley, 2014 Dec 4)
|
||||||
@ -57,16 +55,20 @@ Regexp problems:
|
|||||||
engine, can we do this with the new engine? E.g. with
|
engine, can we do this with the new engine? E.g. with
|
||||||
"/\%(<\1>\)\@<=.*\%(<\/\(\w\+\)>\)\@=" matching text inside HTML tags.
|
"/\%(<\1>\)\@<=.*\%(<\/\(\w\+\)>\)\@=" matching text inside HTML tags.
|
||||||
- Diff highlighting can be very slow. (Issue 309)
|
- Diff highlighting can be very slow. (Issue 309)
|
||||||
- Using "{1,1000}" is much slower than it was with the old engine.
|
|
||||||
(Dominique Pelle, 2015 Jan 22)
|
|
||||||
- Using %> for a virtual column has a check based on 'tabsize'. Better would
|
- Using %> for a virtual column has a check based on 'tabsize'. Better would
|
||||||
be to cache the result of win_linetabsize(col), storing both col and vcol,
|
be to cache the result of win_linetabsize(col), storing both col and vcol,
|
||||||
and use them to decide whether win_linetabsize() needs to be called. Reset
|
and use them to decide whether win_linetabsize() needs to be called. Reset
|
||||||
col and vcol when moving to another line.
|
col and vcol when moving to another line.
|
||||||
|
- this doesn't work: "syntax match ErrorMsg /.\%9l\%>20c\&\%<28c/". Leaving
|
||||||
|
out the \& works. Seems any column check after \& fails.
|
||||||
|
|
||||||
Still using freed memory after using setloclist(). (lcd, 2014 Jul 23)
|
Still using freed memory after using setloclist(). (lcd, 2014 Jul 23)
|
||||||
More info Jul 24. Not clear why.
|
More info Jul 24. Not clear why.
|
||||||
|
|
||||||
|
Docs: "= register is writable. (Christian Brabandt, 2015 Jan 28)
|
||||||
|
|
||||||
|
New syntax file for pfmain. (Anton Shestakov, 2015 Feb 2)
|
||||||
|
|
||||||
Patch to make getregtype() return the right size for non-linux systems.
|
Patch to make getregtype() return the right size for non-linux systems.
|
||||||
(Yasuhiro Matsumoto, 2014 Jul 8)
|
(Yasuhiro Matsumoto, 2014 Jul 8)
|
||||||
Breaks test_eval. Inefficient, can we only compute y_width when needed?
|
Breaks test_eval. Inefficient, can we only compute y_width when needed?
|
||||||
@ -91,21 +93,6 @@ inconsistent with the documentation.
|
|||||||
|
|
||||||
Better greek spell checking. Issue 299.
|
Better greek spell checking. Issue 299.
|
||||||
|
|
||||||
Patch to fix slow valgrind highlighting. (Dominique, 2015 Jan 15)
|
|
||||||
Does maintainer respond?
|
|
||||||
|
|
||||||
Patch on issue 212: feedkeys() with dot doesn't work as expected.
|
|
||||||
|
|
||||||
Patch to support hex values for setting option value.
|
|
||||||
(Zyx, 2014 Nov 6)
|
|
||||||
|
|
||||||
Patch to fix problems with small screen sizes. (Christian Brabandt, 2015 Jan
|
|
||||||
8)
|
|
||||||
|
|
||||||
":tabdo windo echo 'hi'" causes "* register not to be changed.
|
|
||||||
(Salman Halim, 2015 Jan 17)
|
|
||||||
Patch by Christian, 2015 Jan 20. There is another problem, wait a bit.
|
|
||||||
|
|
||||||
On MS-Windows running tests with Mercurial has problems when the fileformat of
|
On MS-Windows running tests with Mercurial has problems when the fileformat of
|
||||||
the input files are changed. (Ken Takata, Taro Muraoka, 2014 Sep 25)
|
the input files are changed. (Ken Takata, Taro Muraoka, 2014 Sep 25)
|
||||||
Update Nov 5.
|
Update Nov 5.
|
||||||
@ -113,9 +100,19 @@ Update Nov 5.
|
|||||||
MS-Windows: Crash opening very long file name starting with "\\".
|
MS-Windows: Crash opening very long file name starting with "\\".
|
||||||
(Christian Brock, 2012 Jun 29)
|
(Christian Brock, 2012 Jun 29)
|
||||||
|
|
||||||
Patch for this from Marcin Szamotulski, 2014 Dec 28:
|
Patch to add "tn" termcap feature, whether Vim can write in the last screen
|
||||||
8 Make the # register writable, so that it can be restored after jumping
|
cell. (Hayaki Saito, 2015 Jan 28)
|
||||||
around in windows.
|
|
||||||
|
Patch to fix getting buffer number for autocommand. (Lech Lorens, 2015 Jan 27)
|
||||||
|
|
||||||
|
Add a few features to xxd. (Vadim Vygonets, 2013 Nov 11)
|
||||||
|
Patches: 2013 Nov 19
|
||||||
|
1: Add -e: little endian hexdump
|
||||||
|
2: Add -o: add offset to displayed position
|
||||||
|
3: Change displayed file position width to 8 chars
|
||||||
|
|
||||||
|
Undo messes up text. Issue 324.
|
||||||
|
Patch from Christian on the issue.
|
||||||
|
|
||||||
Using CTRL-L while popup menu is visible behaves like CTRL-P, which is wrong.
|
Using CTRL-L while popup menu is visible behaves like CTRL-P, which is wrong.
|
||||||
Patch by Yasuhiro Matsumoto, 2015 Jan 5.
|
Patch by Yasuhiro Matsumoto, 2015 Jan 5.
|
||||||
@ -132,6 +129,8 @@ patch from Ken Takata (2014 Nov 6)
|
|||||||
ml_updatechunk() is slow when retrying for another encoding. (John Little,
|
ml_updatechunk() is slow when retrying for another encoding. (John Little,
|
||||||
2014 Sep 11)
|
2014 Sep 11)
|
||||||
|
|
||||||
|
Patch to add counts to zr and zm. (Marcin Szamotulski, 2015 Jan 28)
|
||||||
|
|
||||||
Patch to add a different escape sequence for replace mode.
|
Patch to add a different escape sequence for replace mode.
|
||||||
(Omar Sandoval, 2014 Nov 30)
|
(Omar Sandoval, 2014 Nov 30)
|
||||||
|
|
||||||
@ -142,9 +141,19 @@ Patch by Yasuhiro Matsumoto, 2014 Dec 14.
|
|||||||
|
|
||||||
Extended file attributes lost on write (backupcopy=no). Issue 306.
|
Extended file attributes lost on write (backupcopy=no). Issue 306.
|
||||||
|
|
||||||
|
Patch to add an argument to ":ls" for specific kinds of buffers.
|
||||||
|
(Marcin Szamotulski, 2015 Jan 31)
|
||||||
|
|
||||||
|
Crash when using R syntax. (Jakson Alves de Aquino, 2015 Jan 30)
|
||||||
|
Memory freed by ":syn clear" but still referenced, syntax items referenced
|
||||||
|
from two windows?
|
||||||
|
|
||||||
Window height computed incorrectly when Vim is minimized.
|
Window height computed incorrectly when Vim is minimized.
|
||||||
Patch to fix this. (Ingo Karkat, 2014 Dec 19)
|
Patch to fix this. (Ingo Karkat, 2014 Dec 19)
|
||||||
|
|
||||||
|
Patch to fix CTRL-W handling in Insert mode for multi-byte characters.
|
||||||
|
(Yasuhiro Matsumoto, 2015 Jan 29, update with test)
|
||||||
|
|
||||||
Patch to allow values greater than 255 for ctermfg/ctermbg on Windows.
|
Patch to allow values greater than 255 for ctermfg/ctermbg on Windows.
|
||||||
(Yasuhiro Matsumoto, 2014 Dec 5)
|
(Yasuhiro Matsumoto, 2014 Dec 5)
|
||||||
|
|
||||||
@ -153,6 +162,8 @@ Mixup of highlighting when there is a match and SpellBad. (ZyX, 2015 Jan 1)
|
|||||||
Problem caused by patch 7.3.638: window->open does not update window
|
Problem caused by patch 7.3.638: window->open does not update window
|
||||||
correctly. Issue 91. With patch.
|
correctly. Issue 91. With patch.
|
||||||
|
|
||||||
|
Patch to add 'belloff' option. (Christian Brabandt, 2015 Jan 31)
|
||||||
|
|
||||||
Patch for drag&drop reordering of GUI tab pages reordering.
|
Patch for drag&drop reordering of GUI tab pages reordering.
|
||||||
(Ken Takata, 2013 Nov 22, second one, also by Masamichi Abe)
|
(Ken Takata, 2013 Nov 22, second one, also by Masamichi Abe)
|
||||||
|
|
||||||
@ -257,12 +268,6 @@ Update 2015 Jan 10.
|
|||||||
Win32: patch to use 64 bit stat() if possible. (Ken Takata, 2014 May 12)
|
Win32: patch to use 64 bit stat() if possible. (Ken Takata, 2014 May 12)
|
||||||
More tests May 14. Update May 29. Update Aug 10.
|
More tests May 14. Update May 29. Update Aug 10.
|
||||||
|
|
||||||
The garbage collector may use too much stack. Make set_ref_in_item()
|
|
||||||
iterative instead of recursive. Test program by Marc Weber (2013 Dec 10)
|
|
||||||
Patch by Ben Fritz, 2014 Jun 22. Update 2015 Jan 21.
|
|
||||||
Related: Vim hangs when freeing a lot of objects. Patch by Yasuhiro
|
|
||||||
Matsumoto, 2014 Aug 26.
|
|
||||||
|
|
||||||
Idea: For a window in the middle (has window above and below it), use
|
Idea: For a window in the middle (has window above and below it), use
|
||||||
right-mouse-drag on the status line to move a window up/down without changing
|
right-mouse-drag on the status line to move a window up/down without changing
|
||||||
its height? It's like dragging the status bar above it at the same time.
|
its height? It's like dragging the status bar above it at the same time.
|
||||||
@ -272,6 +277,9 @@ What for systems that don't have unsetenv()?
|
|||||||
|
|
||||||
Patch to add a :domodeline command. (Christian Brabandt, 2014 Oct 21)
|
Patch to add a :domodeline command. (Christian Brabandt, 2014 Oct 21)
|
||||||
|
|
||||||
|
Patch to add TabNew, TabNewEntered and TabClosed autocommand events.
|
||||||
|
(Felipe Morales, 2015 Feb 1)
|
||||||
|
|
||||||
This does not give an error: (Andre Sihera, 2014 Mar 21)
|
This does not give an error: (Andre Sihera, 2014 Mar 21)
|
||||||
vim -u NONE 1 2 3 -c 'bufdo if 1 | echo 1'
|
vim -u NONE 1 2 3 -c 'bufdo if 1 | echo 1'
|
||||||
This neither: (ZyX)
|
This neither: (ZyX)
|
||||||
@ -1656,12 +1664,6 @@ Check for this and use iconv? (Edward L. Fox, 2007 Sep 12)
|
|||||||
Does the conversion in the other direction work when 'fileencodings' is set
|
Does the conversion in the other direction work when 'fileencodings' is set
|
||||||
properly?
|
properly?
|
||||||
|
|
||||||
Add a few features to xxd. (Vadim Vygonets, 2013 Nov 11)
|
|
||||||
Patches: 2013 Nov 19
|
|
||||||
1: Add -e: little endian hexdump
|
|
||||||
2: Add -o: add offset to displayed position
|
|
||||||
3: Change displayed file position width to 8 chars
|
|
||||||
|
|
||||||
Cursor displayed in the wrong position when using 'numberwidth'. (James Vega,
|
Cursor displayed in the wrong position when using 'numberwidth'. (James Vega,
|
||||||
2007 Jun 21)
|
2007 Jun 21)
|
||||||
|
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
*windows.txt* For Vim version 7.4. Last change: 2014 Dec 05
|
*windows.txt* For Vim version 7.4. Last change: 2015 Jan 31
|
||||||
|
|
||||||
|
|
||||||
VIM REFERENCE MANUAL by Bram Moolenaar
|
VIM REFERENCE MANUAL by Bram Moolenaar
|
||||||
@ -998,8 +998,8 @@ list of buffers. |unlisted-buffer|
|
|||||||
(the term "unlisted" is a bit confusing then...).
|
(the term "unlisted" is a bit confusing then...).
|
||||||
|
|
||||||
Each buffer has a unique number. That number will not change,
|
Each buffer has a unique number. That number will not change,
|
||||||
so you can always go to a specific buffer with ":buffer N" or
|
thus you can always go to a specific buffer with ":buffer N"
|
||||||
"N CTRL-^", where N is the buffer number.
|
or "N CTRL-^", where N is the buffer number.
|
||||||
|
|
||||||
Indicators (chars in the same column are mutually exclusive):
|
Indicators (chars in the same column are mutually exclusive):
|
||||||
u an unlisted buffer (only displayed when [!] is used)
|
u an unlisted buffer (only displayed when [!] is used)
|
||||||
|
@ -2,7 +2,7 @@
|
|||||||
" Language: Diff (context or unified)
|
" Language: Diff (context or unified)
|
||||||
" Maintainer: Bram Moolenaar <Bram@vim.org>
|
" Maintainer: Bram Moolenaar <Bram@vim.org>
|
||||||
" Translations by Jakson Alves de Aquino.
|
" Translations by Jakson Alves de Aquino.
|
||||||
" Last Change: 2015 Jan 07
|
" Last Change: 2015 Feb 03
|
||||||
|
|
||||||
" Quit when a (custom) syntax file was already loaded
|
" Quit when a (custom) syntax file was already loaded
|
||||||
if exists("b:current_syntax")
|
if exists("b:current_syntax")
|
||||||
@ -123,13 +123,17 @@ syn match diffNoEOL "^\\ Non hai un salto de liña na fin da liña"
|
|||||||
syn match diffCommon "^Subdirectorios comúns: .* e .*"
|
syn match diffCommon "^Subdirectorios comúns: .* e .*"
|
||||||
|
|
||||||
" he
|
" he
|
||||||
syn match diffOnly "^.*-ב קר אצמנ .*"
|
" ^.* are expansive patterns for long lines, so disabled unless we can match
|
||||||
syn match diffIdentical "^םיהז םניה .*-ו .* םיצבקה$"
|
" some specific hebrew chars
|
||||||
syn match diffDiffer "^הזמ הז םינוש `.*'-ו `.*' םיצבקה$"
|
if search('\%u05d5\|\%u05d1', 'nw', '', 100)
|
||||||
syn match diffBDiffer "^הזמ הז םינוש `.*'-ו `.*' םיירניב םיצבק$"
|
syn match diffOnly "^.*-ב קר אצמנ .*"
|
||||||
syn match diffIsA "^.* .*-ל .* .* תוושהל ןתינ אל$"
|
syn match diffIdentical "^םיהז םניה .*-ו .* םיצבקה$"
|
||||||
syn match diffNoEOL "^\\ ץבוקה ףוסב השד.-הרוש ות רס."
|
syn match diffDiffer "^הזמ הז םינוש `.*'-ו `.*' םיצבקה$"
|
||||||
syn match diffCommon "^.*-ו .* :תוהז תויקית-תת$"
|
syn match diffBDiffer "^הזמ הז םינוש `.*'-ו `.*' םיירניב םיצבק$"
|
||||||
|
syn match diffIsA "^.* .*-ל .* .* תוושהל ןתינ אל$"
|
||||||
|
syn match diffNoEOL "^\\ ץבוקה ףוסב השד.-הרוש ות רס."
|
||||||
|
syn match diffCommon "^.*-ו .* :תוהז תויקית-תת$"
|
||||||
|
endif
|
||||||
|
|
||||||
" hr
|
" hr
|
||||||
syn match diffOnly "^Samo u .*"
|
syn match diffOnly "^Samo u .*"
|
||||||
|
@ -2,7 +2,8 @@
|
|||||||
" Language: Valgrind Memory Debugger Output
|
" Language: Valgrind Memory Debugger Output
|
||||||
" Maintainer: Roger Luethi <rl@hellgate.ch>
|
" Maintainer: Roger Luethi <rl@hellgate.ch>
|
||||||
" Program URL: http://devel-home.kde.org/~sewardj/
|
" Program URL: http://devel-home.kde.org/~sewardj/
|
||||||
" Last Change: 2014 Oct 02
|
" Last Change: 2015 Jan 27
|
||||||
|
" Included improvement by Dominique Pelle
|
||||||
"
|
"
|
||||||
" Notes: mostly based on strace.vim and xml.vim
|
" Notes: mostly based on strace.vim and xml.vim
|
||||||
"
|
"
|
||||||
@ -15,6 +16,9 @@ endif
|
|||||||
let s:keepcpo= &cpo
|
let s:keepcpo= &cpo
|
||||||
set cpo&vim
|
set cpo&vim
|
||||||
|
|
||||||
|
" Lines can be long with demangled c++ functions.
|
||||||
|
setlocal synmaxcol=8000
|
||||||
|
|
||||||
syn case match
|
syn case match
|
||||||
syn sync minlines=50
|
syn sync minlines=50
|
||||||
|
|
||||||
@ -29,8 +33,8 @@ syn region valgrindRegion
|
|||||||
\ contains=valgrindPidChunk,valgrindLine
|
\ contains=valgrindPidChunk,valgrindLine
|
||||||
|
|
||||||
syn region valgrindPidChunk
|
syn region valgrindPidChunk
|
||||||
\ start=+\(^==\)\@<=+
|
\ start=+^==\zs+
|
||||||
\ end=+\(==\)\@=+
|
\ end=+\ze==+
|
||||||
\ contained
|
\ contained
|
||||||
\ contains=valgrindPid0,valgrindPid1,valgrindPid2,valgrindPid3,valgrindPid4,valgrindPid5,valgrindPid6,valgrindPid7,valgrindPid8,valgrindPid9
|
\ contains=valgrindPid0,valgrindPid1,valgrindPid2,valgrindPid3,valgrindPid4,valgrindPid5,valgrindPid6,valgrindPid7,valgrindPid8,valgrindPid9
|
||||||
\ keepend
|
\ keepend
|
||||||
@ -64,10 +68,11 @@ syn match valgrindSummary ".*SUMMARY:" contained
|
|||||||
syn match valgrindLoc "\s\+\(by\|at\|Address\).*$" contained
|
syn match valgrindLoc "\s\+\(by\|at\|Address\).*$" contained
|
||||||
\ contains=valgrindAt,valgrindAddr,valgrindFunc,valgrindBin,valgrindSrc
|
\ contains=valgrindAt,valgrindAddr,valgrindFunc,valgrindBin,valgrindSrc
|
||||||
syn match valgrindAt "at\s\@=" contained
|
syn match valgrindAt "at\s\@=" contained
|
||||||
syn match valgrindAddr "\(\W\)\@<=0x\x\+" contained
|
syn match valgrindAddr "\W\zs0x\x\+" contained
|
||||||
syn match valgrindFunc "\(: \)\@<=\w\+" contained
|
|
||||||
syn match valgrindBin "\((\(with\|\)in \)\@<=\S\+\()\)\@=" contained
|
syn match valgrindFunc ": \zs\h[a-zA-Z0-9_:\[\]()<>&*+\-,=%!|^ ]*\ze([^)]*)$" contained
|
||||||
syn match valgrindSrc "\((\)\@<=[^)]*:\d\+\()\)\@=" contained
|
syn match valgrindBin "(\(with\)\=in \zs\S\+)\@=" contained
|
||||||
|
syn match valgrindSrc "(\zs[^)]*:\d\+)\@=" contained
|
||||||
|
|
||||||
" Define the default highlighting
|
" Define the default highlighting
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user