Skip to content

Commit 771cc9d

Browse files
committed
Update runtime files.
1 parent fc29394 commit 771cc9d

File tree

10 files changed

+90
-58
lines changed

10 files changed

+90
-58
lines changed

runtime/doc/change.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1104,7 +1104,7 @@ There are nine types of registers: *registers* *E354*
11041104
3. The small delete register "-
11051105
4. 26 named registers "a to "z or "A to "Z
11061106
5. three read-only registers ":, "., "%
1107-
7. alternate buffer register "#
1107+
6. alternate buffer register "#
11081108
7. the expression register "=
11091109
8. The selection and drop registers "*, "+ and "~
11101110
9. The black hole register "_

runtime/doc/diff.txt

Lines changed: 14 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
*diff.txt* For Vim version 7.4. Last change: 2014 Oct 31
1+
*diff.txt* For Vim version 7.4. Last change: 2015 Feb 03
22

33

44
VIM REFERENCE MANUAL by Bram Moolenaar
@@ -314,6 +314,19 @@ name or a part of a buffer name. Examples:
314314

315315
Also see |'diffopt'| and the "diff" item of |'fillchars'|.
316316

317+
*diff-slow* *diff_translations*
318+
For very long lines, the diff syntax highlighting might be slow, especially
319+
since it tries to match all different kind of localisations. To disable
320+
localisations and speed up the syntax highlighting, set the global variable
321+
g:diff_translations to zero: >
322+
323+
let g:diff_translations = 0
324+
<
325+
After setting this variable, Reload the syntax script: >
326+
327+
set syntax=diff
328+
<
329+
317330

318331
FINDING THE DIFFERENCES *diff-diffexpr*
319332

runtime/doc/eval.txt

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
*eval.txt* For Vim version 7.4. Last change: 2015 Jan 27
1+
*eval.txt* For Vim version 7.4. Last change: 2015 Jan 29
22

33

44
VIM REFERENCE MANUAL by Bram Moolenaar
@@ -4766,6 +4766,7 @@ printf({fmt}, {expr1} ...) *printf()*
47664766
s The text of the String argument is used. If a
47674767
precision is specified, no more bytes than the number
47684768
specified are used.
4769+
*printf-S*
47694770
S The text of the String argument is used. If a
47704771
precision is specified, no more display cells than the
47714772
number specified are used. Without the |+multi_byte|

runtime/doc/options.txt

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
*options.txt* For Vim version 7.4. Last change: 2014 Dec 17
1+
*options.txt* For Vim version 7.4. Last change: 2015 Jan 27
22

33

44
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|.
13161316
nofile only: The buffer name is fixed, it is not handled like a
13171317
file name. It is not modified in response to a |:cd|
13181318
command.
1319+
nofile only: When using ":e bufname" and already editing "bufname"
1320+
nothing changes, since there is no file to edit.
13191321
*E676*
13201322
"acwrite" implies that the buffer name is not related to a file, like
13211323
"nofile", but it will be written. Thus, in contrast to "nofile" and

runtime/doc/syntax.txt

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
*syntax.txt* For Vim version 7.4. Last change: 2015 Jan 07
1+
*syntax.txt* For Vim version 7.4. Last change: 2015 Feb 03
22

33

44
VIM REFERENCE MANUAL by Bram Moolenaar
@@ -1135,6 +1135,8 @@ there are very long lines in the file. To disable translations: >
11351135
11361136
:let diff_translations = 0
11371137
1138+
Also see |diff-slow|.
1139+
11381140

11391141
DIRCOLORS *dircolors.vim* *ft-dircolors-syntax*
11401142

runtime/doc/tags

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5416,10 +5416,12 @@ diff-mode diff.txt /*diff-mode*
54165416
diff-options diff.txt /*diff-options*
54175417
diff-original-file diff.txt /*diff-original-file*
54185418
diff-patchexpr diff.txt /*diff-patchexpr*
5419+
diff-slow diff.txt /*diff-slow*
54195420
diff.txt diff.txt /*diff.txt*
54205421
diff.vim syntax.txt /*diff.vim*
54215422
diff_filler() eval.txt /*diff_filler()*
54225423
diff_hlID() eval.txt /*diff_hlID()*
5424+
diff_translations diff.txt /*diff_translations*
54235425
digraph digraph.txt /*digraph*
54245426
digraph-arg change.txt /*digraph-arg*
54255427
digraph-encoding digraph.txt /*digraph-encoding*
@@ -7461,6 +7463,7 @@ printf() eval.txt /*printf()*
74617463
printf-% eval.txt /*printf-%*
74627464
printf-E eval.txt /*printf-E*
74637465
printf-G eval.txt /*printf-G*
7466+
printf-S eval.txt /*printf-S*
74647467
printf-X eval.txt /*printf-X*
74657468
printf-c eval.txt /*printf-c*
74667469
printf-d eval.txt /*printf-d*

runtime/doc/todo.txt

Lines changed: 37 additions & 35 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
*todo.txt* For Vim version 7.4. Last change: 2015 Jan 23
1+
*todo.txt* For Vim version 7.4. Last change: 2015 Feb 03
22

33

44
VIM REFERENCE MANUAL by Bram Moolenaar
@@ -35,8 +35,6 @@ not be repeated below, unless there is extra information.
3535
-------------------- Known bugs and current work -----------------------
3636

3737
Regexp problems:
38-
- The NFA engine does not implement the time limit passed to
39-
nfa_regexec_multi()
4038
- Using win_linetabsize() can still be slow. Cache the result, store col and
4139
vcol. Reset them when moving to another line.
4240
- Very slow with a long line and Ruby highlighting. (John Whitley, 2014 Dec 4)
@@ -57,16 +55,20 @@ Regexp problems:
5755
engine, can we do this with the new engine? E.g. with
5856
"/\%(<\1>\)\@<=.*\%(<\/\(\w\+\)>\)\@=" matching text inside HTML tags.
5957
- Diff highlighting can be very slow. (Issue 309)
60-
- Using "{1,1000}" is much slower than it was with the old engine.
61-
(Dominique Pelle, 2015 Jan 22)
6258
- Using %> for a virtual column has a check based on 'tabsize'. Better would
6359
be to cache the result of win_linetabsize(col), storing both col and vcol,
6460
and use them to decide whether win_linetabsize() needs to be called. Reset
6561
col and vcol when moving to another line.
62+
- this doesn't work: "syntax match ErrorMsg /.\%9l\%>20c\&\%<28c/". Leaving
63+
out the \& works. Seems any column check after \& fails.
6664

6765
Still using freed memory after using setloclist(). (lcd, 2014 Jul 23)
6866
More info Jul 24. Not clear why.
6967

68+
Docs: "= register is writable. (Christian Brabandt, 2015 Jan 28)
69+
70+
New syntax file for pfmain. (Anton Shestakov, 2015 Feb 2)
71+
7072
Patch to make getregtype() return the right size for non-linux systems.
7173
(Yasuhiro Matsumoto, 2014 Jul 8)
7274
Breaks test_eval. Inefficient, can we only compute y_width when needed?
@@ -91,31 +93,26 @@ inconsistent with the documentation.
9193

9294
Better greek spell checking. Issue 299.
9395

94-
Patch to fix slow valgrind highlighting. (Dominique, 2015 Jan 15)
95-
Does maintainer respond?
96-
97-
Patch on issue 212: feedkeys() with dot doesn't work as expected.
98-
99-
Patch to support hex values for setting option value.
100-
(Zyx, 2014 Nov 6)
101-
102-
Patch to fix problems with small screen sizes. (Christian Brabandt, 2015 Jan
103-
8)
104-
105-
":tabdo windo echo 'hi'" causes "* register not to be changed.
106-
(Salman Halim, 2015 Jan 17)
107-
Patch by Christian, 2015 Jan 20. There is another problem, wait a bit.
108-
10996
On MS-Windows running tests with Mercurial has problems when the fileformat of
11097
the input files are changed. (Ken Takata, Taro Muraoka, 2014 Sep 25)
11198
Update Nov 5.
11299

113100
MS-Windows: Crash opening very long file name starting with "\\".
114101
(Christian Brock, 2012 Jun 29)
115102

116-
Patch for this from Marcin Szamotulski, 2014 Dec 28:
117-
8 Make the # register writable, so that it can be restored after jumping
118-
around in windows.
103+
Patch to add "tn" termcap feature, whether Vim can write in the last screen
104+
cell. (Hayaki Saito, 2015 Jan 28)
105+
106+
Patch to fix getting buffer number for autocommand. (Lech Lorens, 2015 Jan 27)
107+
108+
Add a few features to xxd. (Vadim Vygonets, 2013 Nov 11)
109+
Patches: 2013 Nov 19
110+
1: Add -e: little endian hexdump
111+
2: Add -o: add offset to displayed position
112+
3: Change displayed file position width to 8 chars
113+
114+
Undo messes up text. Issue 324.
115+
Patch from Christian on the issue.
119116

120117
Using CTRL-L while popup menu is visible behaves like CTRL-P, which is wrong.
121118
Patch by Yasuhiro Matsumoto, 2015 Jan 5.
@@ -132,6 +129,8 @@ patch from Ken Takata (2014 Nov 6)
132129
ml_updatechunk() is slow when retrying for another encoding. (John Little,
133130
2014 Sep 11)
134131

132+
Patch to add counts to zr and zm. (Marcin Szamotulski, 2015 Jan 28)
133+
135134
Patch to add a different escape sequence for replace mode.
136135
(Omar Sandoval, 2014 Nov 30)
137136

@@ -142,9 +141,19 @@ Patch by Yasuhiro Matsumoto, 2014 Dec 14.
142141

143142
Extended file attributes lost on write (backupcopy=no). Issue 306.
144143

144+
Patch to add an argument to ":ls" for specific kinds of buffers.
145+
(Marcin Szamotulski, 2015 Jan 31)
146+
147+
Crash when using R syntax. (Jakson Alves de Aquino, 2015 Jan 30)
148+
Memory freed by ":syn clear" but still referenced, syntax items referenced
149+
from two windows?
150+
145151
Window height computed incorrectly when Vim is minimized.
146152
Patch to fix this. (Ingo Karkat, 2014 Dec 19)
147153

154+
Patch to fix CTRL-W handling in Insert mode for multi-byte characters.
155+
(Yasuhiro Matsumoto, 2015 Jan 29, update with test)
156+
148157
Patch to allow values greater than 255 for ctermfg/ctermbg on Windows.
149158
(Yasuhiro Matsumoto, 2014 Dec 5)
150159

@@ -153,6 +162,8 @@ Mixup of highlighting when there is a match and SpellBad. (ZyX, 2015 Jan 1)
153162
Problem caused by patch 7.3.638: window->open does not update window
154163
correctly. Issue 91. With patch.
155164

165+
Patch to add 'belloff' option. (Christian Brabandt, 2015 Jan 31)
166+
156167
Patch for drag&drop reordering of GUI tab pages reordering.
157168
(Ken Takata, 2013 Nov 22, second one, also by Masamichi Abe)
158169

@@ -257,12 +268,6 @@ Update 2015 Jan 10.
257268
Win32: patch to use 64 bit stat() if possible. (Ken Takata, 2014 May 12)
258269
More tests May 14. Update May 29. Update Aug 10.
259270

260-
The garbage collector may use too much stack. Make set_ref_in_item()
261-
iterative instead of recursive. Test program by Marc Weber (2013 Dec 10)
262-
Patch by Ben Fritz, 2014 Jun 22. Update 2015 Jan 21.
263-
Related: Vim hangs when freeing a lot of objects. Patch by Yasuhiro
264-
Matsumoto, 2014 Aug 26.
265-
266271
Idea: For a window in the middle (has window above and below it), use
267272
right-mouse-drag on the status line to move a window up/down without changing
268273
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()?
272277

273278
Patch to add a :domodeline command. (Christian Brabandt, 2014 Oct 21)
274279

280+
Patch to add TabNew, TabNewEntered and TabClosed autocommand events.
281+
(Felipe Morales, 2015 Feb 1)
282+
275283
This does not give an error: (Andre Sihera, 2014 Mar 21)
276284
vim -u NONE 1 2 3 -c 'bufdo if 1 | echo 1'
277285
This neither: (ZyX)
@@ -1656,12 +1664,6 @@ Check for this and use iconv? (Edward L. Fox, 2007 Sep 12)
16561664
Does the conversion in the other direction work when 'fileencodings' is set
16571665
properly?
16581666

1659-
Add a few features to xxd. (Vadim Vygonets, 2013 Nov 11)
1660-
Patches: 2013 Nov 19
1661-
1: Add -e: little endian hexdump
1662-
2: Add -o: add offset to displayed position
1663-
3: Change displayed file position width to 8 chars
1664-
16651667
Cursor displayed in the wrong position when using 'numberwidth'. (James Vega,
16661668
2007 Jun 21)
16671669

runtime/doc/windows.txt

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
*windows.txt* For Vim version 7.4. Last change: 2014 Dec 05
1+
*windows.txt* For Vim version 7.4. Last change: 2015 Jan 31
22

33

44
VIM REFERENCE MANUAL by Bram Moolenaar
@@ -998,8 +998,8 @@ list of buffers. |unlisted-buffer|
998998
(the term "unlisted" is a bit confusing then...).
999999

10001000
Each buffer has a unique number. That number will not change,
1001-
so you can always go to a specific buffer with ":buffer N" or
1002-
"N CTRL-^", where N is the buffer number.
1001+
thus you can always go to a specific buffer with ":buffer N"
1002+
or "N CTRL-^", where N is the buffer number.
10031003

10041004
Indicators (chars in the same column are mutually exclusive):
10051005
u an unlisted buffer (only displayed when [!] is used)

runtime/syntax/diff.vim

Lines changed: 12 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
" Language: Diff (context or unified)
33
" Maintainer: Bram Moolenaar <[email protected]>
44
" Translations by Jakson Alves de Aquino.
5-
" Last Change: 2015 Jan 07
5+
" Last Change: 2015 Feb 03
66

77
" Quit when a (custom) syntax file was already loaded
88
if exists("b:current_syntax")
@@ -123,13 +123,17 @@ syn match diffNoEOL "^\\ Non hai un salto de liña na fin da liña"
123123
syn match diffCommon "^Subdirectorios comúns: .* e .*"
124124

125125
" he
126-
syn match diffOnly "^.*-ב קר אצמנ .*"
127-
syn match diffIdentical "^םיהז םניה .*-ו .* םיצבקה$"
128-
syn match diffDiffer "^הזמ הז םינוש `.*'-ו `.*' םיצבקה$"
129-
syn match diffBDiffer "^הזמ הז םינוש `.*'-ו `.*' םיירניב םיצבק$"
130-
syn match diffIsA "^.* .*-ל .* .* תוושהל ןתינ אל$"
131-
syn match diffNoEOL "^\\ ץבוקה ףוסב השד.-הרוש ות רס."
132-
syn match diffCommon "^.*-ו .* :תוהז תויקית-תת$"
126+
" ^.* are expansive patterns for long lines, so disabled unless we can match
127+
" some specific hebrew chars
128+
if search('\%u05d5\|\%u05d1', 'nw', '', 100)
129+
syn match diffOnly "^.*-ב קר אצמנ .*"
130+
syn match diffIdentical "^םיהז םניה .*-ו .* םיצבקה$"
131+
syn match diffDiffer "^הזמ הז םינוש `.*'-ו `.*' םיצבקה$"
132+
syn match diffBDiffer "^הזמ הז םינוש `.*'-ו `.*' םיירניב םיצבק$"
133+
syn match diffIsA "^.* .*-ל .* .* תוושהל ןתינ אל$"
134+
syn match diffNoEOL "^\\ ץבוקה ףוסב השד.-הרוש ות רס."
135+
syn match diffCommon "^.*-ו .* :תוהז תויקית-תת$"
136+
endif
133137

134138
" hr
135139
syn match diffOnly "^Samo u .*"

runtime/syntax/valgrind.vim

Lines changed: 12 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,8 @@
22
" Language: Valgrind Memory Debugger Output
33
" Maintainer: Roger Luethi <[email protected]>
44
" Program URL: http://devel-home.kde.org/~sewardj/
5-
" Last Change: 2014 Oct 02
5+
" Last Change: 2015 Jan 27
6+
" Included improvement by Dominique Pelle
67
"
78
" Notes: mostly based on strace.vim and xml.vim
89
"
@@ -15,6 +16,9 @@ endif
1516
let s:keepcpo= &cpo
1617
set cpo&vim
1718

19+
" Lines can be long with demangled c++ functions.
20+
setlocal synmaxcol=8000
21+
1822
syn case match
1923
syn sync minlines=50
2024

@@ -29,8 +33,8 @@ syn region valgrindRegion
2933
\ contains=valgrindPidChunk,valgrindLine
3034

3135
syn region valgrindPidChunk
32-
\ start=+\(^==\)\@<=+
33-
\ end=+\(==\)\@=+
36+
\ start=+^==\zs+
37+
\ end=+\ze==+
3438
\ contained
3539
\ contains=valgrindPid0,valgrindPid1,valgrindPid2,valgrindPid3,valgrindPid4,valgrindPid5,valgrindPid6,valgrindPid7,valgrindPid8,valgrindPid9
3640
\ keepend
@@ -64,10 +68,11 @@ syn match valgrindSummary ".*SUMMARY:" contained
6468
syn match valgrindLoc "\s\+\(by\|at\|Address\).*$" contained
6569
\ contains=valgrindAt,valgrindAddr,valgrindFunc,valgrindBin,valgrindSrc
6670
syn match valgrindAt "at\s\@=" contained
67-
syn match valgrindAddr "\(\W\)\@<=0x\x\+" contained
68-
syn match valgrindFunc "\(: \)\@<=\w\+" contained
69-
syn match valgrindBin "\((\(with\|\)in \)\@<=\S\+\()\)\@=" contained
70-
syn match valgrindSrc "\((\)\@<=[^)]*:\d\+\()\)\@=" contained
71+
syn match valgrindAddr "\W\zs0x\x\+" contained
72+
73+
syn match valgrindFunc ": \zs\h[a-zA-Z0-9_:\[\]()<>&*+\-,=%!|^ ]*\ze([^)]*)$" contained
74+
syn match valgrindBin "(\(with\)\=in \zs\S\+)\@=" contained
75+
syn match valgrindSrc "(\zs[^)]*:\d\+)\@=" contained
7176

7277
" Define the default highlighting
7378

0 commit comments

Comments
 (0)