Skip to content

Commit 911ead1

Browse files
committed
Update runtime files
1 parent ad3ec76 commit 911ead1

14 files changed

Lines changed: 404 additions & 987 deletions

File tree

runtime/doc/autocmd.txt

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
*autocmd.txt* For Vim version 8.1. Last change: 2019 Apr 04
1+
*autocmd.txt* For Vim version 8.1. Last change: 2019 Apr 08
22

33

44
VIM REFERENCE MANUAL by Bram Moolenaar
@@ -587,7 +587,7 @@ CompleteChanged *CompleteChanged*
587587
recursively.
588588

589589
Sets these |v:event| keys:
590-
completed_item
590+
completed_item See |complete-items|.
591591
height nr of items visible
592592
width screen cells
593593
row top screen row
@@ -895,7 +895,6 @@ OptionSet After setting an option. The pattern is
895895

896896
When using |:set| in the autocommand the event
897897
is not triggered again.
898-
899898
*QuickFixCmdPre*
900899
QuickFixCmdPre Before a quickfix command is run (|:make|,
901900
|:lmake|, |:grep|, |:lgrep|, |:grepadd|,

runtime/doc/eval.txt

Lines changed: 13 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
*eval.txt* For Vim version 8.1. Last change: 2019 Apr 06
1+
*eval.txt* For Vim version 8.1. Last change: 2019 Apr 21
22

33

44
VIM REFERENCE MANUAL by Bram Moolenaar
@@ -2679,7 +2679,7 @@ term_setkill({buf}, {how}) none set signal to stop job in terminal
26792679
term_setrestore({buf}, {command}) none set command to restore terminal
26802680
term_setsize({buf}, {rows}, {cols})
26812681
none set the size of a terminal
2682-
term_start({cmd}, {options}) Number open a terminal window and run a job
2682+
term_start({cmd} [, {options}]) Number open a terminal window and run a job
26832683
term_wait({buf} [, {time}]) Number wait for screen to be updated
26842684
test_alloc_fail({id}, {countdown}, {repeat})
26852685
none make memory allocation fail
@@ -9440,6 +9440,7 @@ term_getcursor({buf}) *term_getcursor()*
94409440
is not blinking.
94419441
"shape" 1 for a block cursor, 2 for underline and 3
94429442
for a vertical bar.
9443+
"color" color of the cursor, e.g. "green"
94439444

94449445
{buf} must be the buffer number of a terminal window. If the
94459446
buffer does not exist or is not a terminal window, an empty
@@ -9610,7 +9611,7 @@ term_setsize({buf}, {rows}, {cols}) *term_setsize()* *E955*
96109611
exist or is not a terminal window, an error is given.
96119612
{only available when compiled with the |+terminal| feature}
96129613

9613-
term_start({cmd}, {options}) *term_start()*
9614+
term_start({cmd} [, {options}]) *term_start()*
96149615
Open a terminal window and run {cmd} in it.
96159616

96169617
{cmd} can be a string or a List, like with |job_start()|. The
@@ -10559,6 +10560,7 @@ vim_starting True while initial source'ing takes place. |startup|
1055910560
viminfo Compiled with viminfo support.
1056010561
vimscript-1 Compiled Vim script version 1 support
1056110562
vimscript-2 Compiled Vim script version 2 support
10563+
vimscript-3 Compiled Vim script version 3 support
1056210564
virtualedit Compiled with 'virtualedit' option. (always true)
1056310565
visual Compiled with Visual mode. (always true)
1056410566
visualextra Compiled with extra Visual mode commands. (always
@@ -12696,7 +12698,7 @@ code can be used: >
1269612698
1269712699
==============================================================================
1269812700
10. Vim script versions *vimscript-version* *vimscript-versions*
12699-
12701+
*scriptversion*
1270012702
Over time many features have been added to Vim script. This includes Ex
1270112703
commands, functions, variable types, etc. Each individual feature can be
1270212704
checked with the |has()| and |exists()| functions.
@@ -12717,9 +12719,14 @@ instead of failing in mysterious ways. >
1271712719
< String concatenation with "." is not supported, use ".." instead.
1271812720
This avoids the ambiguity using "." for Dict member access and
1271912721
floating point numbers. Now ".5" means the number 0.5.
12720-
Test for support with: >
12721-
has('vimscript-2')
12722+
>
12723+
:scriptversion 3
12724+
< All |vim-variable|s must be prefixed by "v:". E.g. "version" doesn't
12725+
work as |v:version| anymore, it can be used as a normal variable.
12726+
Same for some obvious names as "count" and others.
1272212727

12728+
Test for support with: >
12729+
has('vimscript-3')
1272312730
1272412731
==============================================================================
1272512732
11. No +eval feature *no-eval-feature*

runtime/doc/gui_x11.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
*gui_x11.txt* For Vim version 8.1. Last change: 2018 May 06
1+
*gui_x11.txt* For Vim version 8.1. Last change: 2019 Apr 12
22

33

44
VIM REFERENCE MANUAL by Bram Moolenaar
@@ -48,7 +48,7 @@ that waits for gvim to exit), start gvim with "gvim -f", "vim -gf" or use
4848
":gui -f". Don't use "vim -fg", because "-fg" specifies the foreground
4949
color.
5050

51-
When using "gvim -f" and then ":gui", Vim will run in the foreground. The
51+
When using "vim -f" and then ":gui", Vim will run in the foreground. The
5252
"-f" argument will be remembered. To force running Vim in the background use
5353
":gui -b".
5454

runtime/doc/index.txt

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
*index.txt* For Vim version 8.1. Last change: 2019 Apr 05
1+
*index.txt* For Vim version 8.1. Last change: 2019 Apr 19
22

33

44
VIM REFERENCE MANUAL by Bram Moolenaar
@@ -1107,10 +1107,10 @@ tag char action in Terminal-Job mode ~
11071107
|t_CTRL-W_:| CTRL-W : enter an Ex command
11081108
|t_CTRL-W_.| CTRL-W . type CTRL-W in the terminal
11091109
CTRL-W CTRL-\ send a CTRL-\ to the job in the terminal
1110-
|t_CTRL-W_quote| CTRL-W " {0-9a-z"%#*:=}
1110+
|t_CTRL-W_quote| CTRL-W " {0-9a-z"%#*:=}
11111111
paste register in the terminal
11121112
|t_CTRL-W_CTRL-C| CTRL-W CTRL-C forcefully ends the job
1113-
|t_CTRL-W_CTRL-W| CTRL-W CTRL-W move focus to the next window
1113+
|t_CTRL-W_CTRL-W| CTRL-W CTRL-W move focus to the next window
11141114
|t_CTRL-W_gt| CTRL-W gt go to next tabpage, same as `gt`
11151115
|t_CTRL-W_gT| CTRL-W gT go to previous tabpage, same as `gT`
11161116

runtime/doc/options.txt

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
*options.txt* For Vim version 8.1. Last change: 2019 Mar 24
1+
*options.txt* For Vim version 8.1. Last change: 2019 Apr 10
22

33

44
VIM REFERENCE MANUAL by Bram Moolenaar
@@ -2547,6 +2547,7 @@ A jump table for the options with a short description can be found at |Q_op|.
25472547
< When using the ":set" command, you need to double the backslashes!
25482548
To avoid that use `:let` with a single quote string: >
25492549
let &l:define = '^\s*\ze\k\+\s*=\s*function('
2550+
<
25502551

25512552
*'delcombine'* *'deco'* *'nodelcombine'* *'nodeco'*
25522553
'delcombine' 'deco' boolean (default off)
@@ -7311,7 +7312,8 @@ A jump table for the options with a short description can be found at |Q_op|.
73117312
set spelllang=en_us,nl,medical
73127313
< This means US English, Dutch and medical words are recognized. Words
73137314
that are not recognized will be highlighted.
7314-
The word list name must not include a comma or dot. Using a dash is
7315+
The word list name must consist of alphanumeric characters, a dash or
7316+
an underscore. It should not include a comma or dot. Using a dash is
73157317
recommended to separate the two letter language name from a
73167318
specification. Thus "en-rare" is used for rare English words.
73177319
A region name must come last and have the form "_xx", where "xx" is

runtime/doc/print.txt

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -254,9 +254,9 @@ possible. The following tables show the valid combinations:
254254
Japanese JIS_C_1978 x x
255255
JIS_X_1983 x x
256256
JIS_X_1990 x x x
257-
MSWINDOWS x
258-
KANJITALK6 x
259-
KANJITALK7 x
257+
MSWINDOWS x
258+
KANJITALK6 x
259+
KANJITALK7 x
260260

261261
euc-kr cp949 ucs-2 utf-8 ~
262262
Korean KS_X_1992 x

runtime/doc/tags

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3748,6 +3748,7 @@ ColorScheme autocmd.txt /*ColorScheme*
37483748
ColorSchemePre autocmd.txt /*ColorSchemePre*
37493749
Command-line cmdline.txt /*Command-line*
37503750
Command-line-mode cmdline.txt /*Command-line-mode*
3751+
CompleteChanged autocmd.txt /*CompleteChanged*
37513752
CompleteDone autocmd.txt /*CompleteDone*
37523753
ConPTY terminal.txt /*ConPTY*
37533754
Contents quickref.txt /*Contents*
@@ -8471,6 +8472,7 @@ script-local map.txt /*script-local*
84718472
script-variable eval.txt /*script-variable*
84728473
scriptnames-dictionary eval.txt /*scriptnames-dictionary*
84738474
scriptout-changed version4.txt /*scriptout-changed*
8475+
scriptversion eval.txt /*scriptversion*
84748476
scroll-binding scroll.txt /*scroll-binding*
84758477
scroll-cursor scroll.txt /*scroll-cursor*
84768478
scroll-down scroll.txt /*scroll-down*

runtime/doc/term.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
*term.txt* For Vim version 8.1. Last change: 2019 Jan 19
1+
*term.txt* For Vim version 8.1. Last change: 2019 Apr 11
22

33

44
VIM REFERENCE MANUAL by Bram Moolenaar
@@ -539,7 +539,7 @@ there should be a tick at allow-window-ops.
539539
Note about colors: The 't_Co' option tells Vim the number of colors available.
540540
When it is non-zero, the 't_AB' and 't_AF' options are used to set the color.
541541
If one of these is not available, 't_Sb' and 't_Sf' are used. 't_me' is used
542-
to reset to the default colors.
542+
to reset to the default colors. Also see 'termguicolors'.
543543

544544
*termcap-cursor-shape* *termcap-cursor-color*
545545
When Vim enters Insert mode the 't_SI' escape sequence is sent. When Vim

runtime/doc/todo.txt

Lines changed: 40 additions & 55 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
*todo.txt* For Vim version 8.1. Last change: 2019 Apr 07
1+
*todo.txt* For Vim version 8.1. Last change: 2019 Apr 20
22

33

44
VIM REFERENCE MANUAL by Bram Moolenaar
@@ -191,7 +191,10 @@ Motif: Build on Ubuntu can't enter any text in dialog text fields.
191191

192192
nvo-mode mapping works on Windows, not on Linux. (#3678)
193193

194-
No test for NULL after allocating memory: #4174
194+
Patch to make Command-V use CTRL-R_CTRL-O* on Mac, like on Windows.
195+
(Ken Takata, #4266)
196+
197+
No test for NULL after allocating memory: #4174 (martinkunevtoptal does this?)
195198
src/crypt.c line 256;
196199
src/crypt_zip.c line 93;
197200
src/gui_gtk_f.c line 132;
@@ -224,60 +227,17 @@ When 'confirm' is set a "silent q" doesn't show the prompt. It should in this
224227
case. (Nate Peterson, 2019 Jan 31, #3892)
225228
For "silent! q" it should not prompt and just fail.
226229

227-
Patch to add CompleteChanged event: triggered when the complete popup menu
228-
changes. #4176
229-
230-
Patch to add tab-local directories. (Yegappan, #4212)
231-
Wait a bit for comments.
232-
233-
Problem with Visual yank when 'linebreak' and 'showbreak' are set.
234-
Patch with tests, but it's not clear how it is supposed to work. (tommm, 2018
235-
Nov 17) Asked about this, Dec 22. Christian will have a look.
236-
237-
Patch to add ruby cflags. (#4050, fixes #1081)
238-
Needs modification.
239-
240-
Patch for larger icons in installer. (#978) Still not good.
241-
242-
Patch to add tagfunc(). Cleaned up by Christian Brabandt, 2013 Jun 22.
243-
New update 2017 Apr 10, #1628
244-
https://github.com/chrisbra/vim-mq-patches/blob/master/tagfunc
245-
Updated by Andy Massimino, 2018 Feb 7:
246-
https://github.com/andymass/vim/commit/4e3aa0a5dab96d2799567622f3f537e357aa479e
247-
Or should we make it asynchronous?
248-
Patch by Andy Massimino: #4010 - needs more work, tests are missing, docs need
249-
updating, should probably return a string with extra info instad of dict
250-
entries.
251-
252-
Patch to fix that using "5gj" starting inside a closed fold does not work on
253-
screen lines but on text lines. (Julius Hulsmann, #4095) Lacks a test.
230+
Add <aevent>, which expands to the currently triggered autocommand event name.
231+
(Daniel Hahler, #4232) Or add it to v:event (easier to use but slightly more
232+
expensive).
254233

255234
Some xterm responses are not properly handled: (Markus Gömmel, 2019 Apr 1)
256235
DCS 0 $ r Pt ST should be ignored.
257236
DCS 0 + r/Pt/ ST already ignored?
258237

259-
Patch to add blob_encode() and blob_decode(). (Yasuhiro Matsumoto, #4049)
260-
What do we need these for?
261-
262-
Patch to add more info to OptionSet. Should mention what triggered the change
263-
":set", ":setlocal", ":setglobal", "modeline"; and the old global value.
264-
#4118. Proposed implementation: 2019 Mar 27. Tests fail, help update
265-
missing.
266-
267-
How to make (async) complete function depending on completion type?
268-
Patch on #4083 to do this with an autocommand. Probably want something else,
269-
like 'omnifunc'.
270-
271-
Using CTRL-L to add a character to the search string doesn't work for the last
272-
character in the file. (Smylers, 2018 Nov 17, #3620)
273-
Suggested patch by Hirohito Higashi, 2018 Nov 18.
274-
275238
Using CTRL-L to add a character to the search string that contains \v,
276239
punctuation is repeated. (Smylers, 2018 Nov 17, #3621)
277240

278-
Using CTRL-L during search only picks up the base character, not a combining
279-
character. (Rick, 2018 Dec 11, #3682)
280-
281241
ml_get error: (Israel Chauca Fuentes, 2018 Oct 17, #3550).
282242

283243
Problem with two buffers with the same name a/b, if it didn't exist before and
@@ -291,19 +251,16 @@ Invalid memory access with old regexp engine. (Dominique Pelle, 2018 Sep 3,
291251
#3405) Introduced by 8.0.1517, which was fixing another memory access error.
292252
(Sep 8)
293253

294-
Patch to make winnr() return the window above/below/beside a window.
295-
(Yegappan Lakshmanan, #3993)
296-
297-
Patch for ConPTY support, new one: #3794 Does this work now? It should.
298-
(Nobuhiro Takasaki)
299-
300254
Add function to make use of internal diff, working on two lists and returning
301255
unified diff (list of lines).
302256

303257
When splitting a window with few text lines, the relative cursor position is
304258
kept, which means part of the text isn't displayed. Better show all the text
305259
when possible. (Dylan Lloyd, #3973)
306260

261+
Patch to not recognize "version" as "v:version", "count" as "v:count".
262+
Ken Takata, #4274.
263+
307264
Patch to implement 'diffref' option. (#3535)
308265
Easier to use a 'diffmaster' option, is the extra complexity needed?
309266

@@ -329,6 +286,35 @@ Add buffer argument to undotree(). (#4001)
329286
Patch to add optional arguments with default values.
330287
(Andy Massimino, #3952) under development
331288

289+
Patch to add tab-local directories. (Yegappan, #4212)
290+
Good now?
291+
292+
Patch to add more info to OptionSet. Should mention what triggered the change
293+
":set", ":setlocal", ":setglobal", "modeline"; and the old global value.
294+
#4118. Proposed implementation: 2019 Mar 27. Tests fail, help update
295+
missing. Updated 2019 Apr 9
296+
297+
Problem with Visual yank when 'linebreak' and 'showbreak' are set.
298+
Patch with tests, but it's not clear how it is supposed to work. (tommm, 2018
299+
Nov 17) Asked about this, Dec 22. Christian will have a look.
300+
301+
Patch to add ruby cflags. (#4050, fixes #1081)
302+
Needs modification.
303+
304+
Patch for larger icons in installer. (#978) Still not good.
305+
306+
Patch to add tagfunc(). Cleaned up by Christian Brabandt, 2013 Jun 22.
307+
New update 2017 Apr 10, #1628
308+
https://github.com/chrisbra/vim-mq-patches/blob/master/tagfunc
309+
Updated by Andy Massimino, 2018 Feb 7:
310+
https://github.com/andymass/vim/commit/4e3aa0a5dab96d2799567622f3f537e357aa479e
311+
Or should we make it asynchronous?
312+
Patch by Andy Massimino: #4010 - needs a bit more work: produce errors when
313+
something is wrong.
314+
315+
Patch to fix that using "5gj" starting inside a closed fold does not work on
316+
screen lines but on text lines. (Julius Hulsmann, #4095) Lacks a test.
317+
332318
Memory leaks in test_channel? (or is it because of fork())
333319
Using uninitialized value in test_crypt.
334320
Memory leak in test_terminal:
@@ -358,7 +344,6 @@ Patch to add an interrupt() function: sets got_int. Useful in an autocommand
358344
such as BufWritePre that checks the file name or contents.
359345

360346
More patches to check:
361-
- #3797 add test for #3789
362347
- #4098 improve Travis config
363348

364349
Should make 'listchars' global-local. Local to window or to buffer?

runtime/ftplugin/dosbatch.vim

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
" Vim filetype plugin file
22
" Language: MS-DOS .bat files
33
" Maintainer: Mike Williams <[email protected]>
4-
" Last Change: 8th May 2012
4+
" Last Change: 14th April 2019
55

66
" Only do this when not done yet for this buffer
77
if exists("b:did_ftplugin")
@@ -16,6 +16,7 @@ set cpo&vim
1616

1717
" BAT comment formatting
1818
setlocal comments=b:rem,b:@rem,b:REM,b:@REM,:::
19+
setlocal commentstring=::\ %s
1920
setlocal formatoptions-=t formatoptions+=rol
2021

2122
" Define patterns for the browse file filter

0 commit comments

Comments
 (0)