Skip to content

Commit 5be4cee

Browse files
committed
Update runtime files.
1 parent a7f6c3c commit 5be4cee

34 files changed

Lines changed: 300 additions & 232 deletions

runtime/autoload/htmlcomplete.vim

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
" Vim completion script
22
" Language: HTML and XHTML
33
" Maintainer: Mikolaj Machowski ( mikmach AT wp DOT pl )
4-
" Last Change: 2014 Jun 20
4+
" Last Change: 2019 Sep 27
55

66
" Distinguish between HTML versions.
77
" To use with other HTML versions add another "elseif" condition to match
@@ -245,7 +245,8 @@ function! htmlcomplete#CompleteTags(findstart, base)
245245
" If context contains white space it is attribute.
246246
" It can be also value of attribute.
247247
" We have to get first word to offer proper completions
248-
if context == ''
248+
if context =~ '^\s*$'
249+
" empty or whitespace line
249250
let tag = ''
250251
else
251252
let tag = split(context)[0]

runtime/doc/change.txt

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
*change.txt* For Vim version 8.1. Last change: 2019 Aug 21
1+
*change.txt* For Vim version 8.1. Last change: 2019 Sep 27
22

33

44
VIM REFERENCE MANUAL by Bram Moolenaar
@@ -1172,7 +1172,7 @@ Rationale: In Vi the "y" command followed by a backwards motion would
11721172
With a linewise yank command the cursor is put in the first line, but the
11731173
column is unmodified, thus it may not be on the first yanked character.
11741174

1175-
There are ten types of registers: *registers* *E354*
1175+
There are ten types of registers: *registers* *{register}* *E354*
11761176
1. The unnamed register ""
11771177
2. 10 numbered registers "0 to "9
11781178
3. The small delete register "-
@@ -1312,7 +1312,7 @@ When writing to this register, nothing happens. This can be used to delete
13121312
text without affecting the normal registers. When reading from this register,
13131313
nothing is returned.
13141314

1315-
10. Last search pattern register "/ *quote_/* *quote/*
1315+
10. Last search pattern register "/ *quote_/* *quote/*
13161316
Contains the most recent search-pattern. This is used for "n" and 'hlsearch'.
13171317
It is writable with `:let`, you can change it to have 'hlsearch' highlight
13181318
other matches without actually searching. You can't yank or delete into this

runtime/doc/cmdline.txt

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
*cmdline.txt* For Vim version 8.1. Last change: 2019 Sep 04
1+
*cmdline.txt* For Vim version 8.1. Last change: 2019 Sep 27
22

33

44
VIM REFERENCE MANUAL by Bram Moolenaar
@@ -129,7 +129,7 @@ CTRL-K {char1} {char2} *c_CTRL-K*
129129
enter digraph (see |digraphs|). When {char1} is a special
130130
key, the code for that key is inserted in <> form.
131131

132-
CTRL-R {0-9a-z"%#:-=.} *c_CTRL-R* *c_<C-R>*
132+
CTRL-R {register} *c_CTRL-R* *c_<C-R>*
133133
Insert the contents of a numbered or named register. Between
134134
typing CTRL-R and the second character '"' will be displayed
135135
to indicate that you are expected to enter the name of a
@@ -191,8 +191,8 @@ CTRL-R CTRL-L *c_CTRL-R_CTRL-L* *c_<C-R>_<C-L>*
191191

192192
*c_CTRL-R_CTRL-R* *c_<C-R>_<C-R>*
193193
*c_CTRL-R_CTRL-O* *c_<C-R>_<C-O>*
194-
CTRL-R CTRL-R {0-9a-z"%#:-=. CTRL-F CTRL-P CTRL-W CTRL-A CTRL-L}
195-
CTRL-R CTRL-O {0-9a-z"%#:-=. CTRL-F CTRL-P CTRL-W CTRL-A CTRL-L}
194+
CTRL-R CTRL-R {register CTRL-F CTRL-P CTRL-W CTRL-A CTRL-L}
195+
CTRL-R CTRL-O {register CTRL-F CTRL-P CTRL-W CTRL-A CTRL-L}
196196
Insert register or object under the cursor. Works like
197197
|c_CTRL-R| but inserts the text literally. For example, if
198198
register a contains "xy^Hz" (where ^H is a backspace),

runtime/doc/editing.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
*editing.txt* For Vim version 8.1. Last change: 2019 Jun 10
1+
*editing.txt* For Vim version 8.1. Last change: 2019 Sep 27
22

33

44
VIM REFERENCE MANUAL by Bram Moolenaar
@@ -1554,7 +1554,7 @@ focus.
15541554
If you want to automatically reload a file when it has been changed outside of
15551555
Vim, set the 'autoread' option. This doesn't work at the moment you write the
15561556
file though, only when the file wasn't changed inside of Vim.
1557-
1557+
*ignore-timestamp*
15581558
If you do not want to be asked or automatically reload the file, you can use
15591559
this: >
15601560
set buftype=nofile

runtime/doc/eval.txt

Lines changed: 8 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
*eval.txt* For Vim version 8.1. Last change: 2019 Sep 26
1+
*eval.txt* For Vim version 8.1. Last change: 2019 Sep 27
22

33

44
VIM REFERENCE MANUAL by Bram Moolenaar
@@ -9634,9 +9634,14 @@ systemlist({expr} [, {input}]) *systemlist()*
96349634
Same as |system()|, but returns a |List| with lines (parts of
96359635
output separated by NL) with NULs transformed into NLs. Output
96369636
is the same as |readfile()| will output with {binary} argument
9637-
set to "b". Note that on MS-Windows you may get trailing CR
9638-
characters.
9637+
set to "b", except that there is no extra empty item when the
9638+
result ends in a NL.
9639+
Note that on MS-Windows you may get trailing CR characters.
96399640

9641+
To see the difference between "echo hello" and "echo -n hello"
9642+
use |system()| and |split()|: >
9643+
echo system('echo hello')->split('\n', 1)
9644+
<
96409645
Returns an empty string on error.
96419646

96429647
Can also be used as a |method|: >

runtime/doc/filetype.txt

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -595,6 +595,10 @@ If you do not like the default folding, use an autocommand to add your desired
595595
folding style instead. For example: >
596596
autocmd FileType man setlocal foldmethod=indent foldenable
597597
598+
If you would like :Man {number} {name} to behave like man {number} {name} by
599+
not running man {name} if no page is found, then use this: >
600+
let g:ft_man_no_sect_fallback = 1
601+
598602
You may also want to set 'keywordprg' to make the |K| command open a manual
599603
page in a Vim window: >
600604
set keywordprg=:Man

runtime/doc/index.txt

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
*index.txt* For Vim version 8.1. Last change: 2019 Sep 02
1+
*index.txt* For Vim version 8.1. Last change: 2019 Sep 27
22

33

44
VIM REFERENCE MANUAL by Bram Moolenaar
@@ -73,14 +73,14 @@ tag char action in Insert mode ~
7373
the cursor
7474
|i_CTRL-Q| CTRL-Q same as CTRL-V, unless used for terminal
7575
control flow
76-
|i_CTRL-R| CTRL-R {0-9a-z"%#*:=}
76+
|i_CTRL-R| CTRL-R {register}
7777
insert the contents of a register
78-
|i_CTRL-R_CTRL-R| CTRL-R CTRL-R {0-9a-z"%#*:=}
78+
|i_CTRL-R_CTRL-R| CTRL-R CTRL-R {register}
7979
insert the contents of a register literally
80-
|i_CTRL-R_CTRL-O| CTRL-R CTRL-O {0-9a-z"%#*:=}
80+
|i_CTRL-R_CTRL-O| CTRL-R CTRL-O {register}
8181
insert the contents of a register literally
8282
and don't auto-indent
83-
|i_CTRL-R_CTRL-P| CTRL-R CTRL-P {0-9a-z"%#*:=}
83+
|i_CTRL-R_CTRL-P| CTRL-R CTRL-P {register}
8484
insert the contents of a register literally
8585
and fix indent.
8686
CTRL-S (used for terminal control flow)

runtime/doc/insert.txt

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
*insert.txt* For Vim version 8.1. Last change: 2019 Sep 08
1+
*insert.txt* For Vim version 8.1. Last change: 2019 Sep 27
22

33

44
VIM REFERENCE MANUAL by Bram Moolenaar
@@ -106,7 +106,7 @@ CTRL-K {char1} [char2]
106106
CTRL-N Find next keyword (see |i_CTRL-N|).
107107
CTRL-P Find previous keyword (see |i_CTRL-P|).
108108

109-
CTRL-R {0-9a-z"%#*+:.-=} *i_CTRL-R*
109+
CTRL-R {register} *i_CTRL-R*
110110
Insert the contents of a register. Between typing CTRL-R and
111111
the second character, '"' will be displayed to indicate that
112112
you are expected to enter the name of a register.
@@ -143,7 +143,7 @@ CTRL-R {0-9a-z"%#*+:.-=} *i_CTRL-R*
143143
sequence will be broken.
144144
See |registers| about registers.
145145

146-
CTRL-R CTRL-R {0-9a-z"%#*+/:.-=} *i_CTRL-R_CTRL-R*
146+
CTRL-R CTRL-R {register} *i_CTRL-R_CTRL-R*
147147
Insert the contents of a register. Works like using a single
148148
CTRL-R, but the text is inserted literally, not as if typed.
149149
This differs when the register contains characters like <BS>.
@@ -155,7 +155,7 @@ CTRL-R CTRL-R {0-9a-z"%#*+/:.-=} *i_CTRL-R_CTRL-R*
155155
The '.' register (last inserted text) is still inserted as
156156
typed.
157157

158-
CTRL-R CTRL-O {0-9a-z"%#*+/:.-=} *i_CTRL-R_CTRL-O*
158+
CTRL-R CTRL-O {register} *i_CTRL-R_CTRL-O*
159159
Insert the contents of a register literally and don't
160160
auto-indent. Does the same as pasting with the mouse
161161
|<MiddleMouse>|. When the register is linewise this will
@@ -164,7 +164,7 @@ CTRL-R CTRL-O {0-9a-z"%#*+/:.-=} *i_CTRL-R_CTRL-O*
164164
The '.' register (last inserted text) is still inserted as
165165
typed.
166166

167-
CTRL-R CTRL-P {0-9a-z"%#*+/:.-=} *i_CTRL-R_CTRL-P*
167+
CTRL-R CTRL-P {register} *i_CTRL-R_CTRL-P*
168168
Insert the contents of a register literally and fix the
169169
indent, like |[<MiddleMouse>|.
170170
Does not replace characters!

runtime/doc/options.txt

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
*options.txt* For Vim version 8.1. Last change: 2019 Sep 18
1+
*options.txt* For Vim version 8.1. Last change: 2019 Sep 26
22

33

44
VIM REFERENCE MANUAL by Bram Moolenaar
@@ -8177,8 +8177,8 @@ A jump table for the options with a short description can be found at |Q_op|.
81778177
Win32 and OS/2)
81788178
global or local to buffer |global-local|
81798179
Maximum number of changes that can be undone. Since undo information
8180-
is kept in memory, higher numbers will cause more memory to be used
8181-
(nevertheless, a single change can use an unlimited amount of memory).
8180+
is kept in memory, higher numbers will cause more memory to be used.
8181+
Nevertheless, a single change can already use a large amount of memory.
81828182
Set to 0 for Vi compatibility: One level of undo and "u" undoes
81838183
itself: >
81848184
set ul=0

runtime/doc/quickref.txt

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
*quickref.txt* For Vim version 8.1. Last change: 2019 Aug 20
1+
*quickref.txt* For Vim version 8.1. Last change: 2019 Sep 27
22

33

44
VIM REFERENCE MANUAL by Bram Moolenaar
@@ -291,7 +291,7 @@ moving around:
291291
|i_CTRL-A| CTRL-A insert previously inserted text
292292
|i_CTRL-@| CTRL-@ insert previously inserted text and stop
293293
Insert mode
294-
|i_CTRL-R| CTRL-R {0-9a-z%#:.-="} insert the contents of a register
294+
|i_CTRL-R| CTRL-R {register} insert the contents of a register
295295

296296
|i_CTRL-N| CTRL-N insert next match of identifier before the
297297
cursor
@@ -1077,8 +1077,7 @@ Short explanation of each option: *option-list*
10771077
three digits)
10781078
|c_CTRL-K| CTRL-K {char1} {char2}
10791079
enter digraph (See |Q_di|)
1080-
|c_CTRL-R| CTRL-R {0-9a-z"%#:-=}
1081-
insert the contents of a register
1080+
|c_CTRL-R| CTRL-R {register} insert the contents of a register
10821081

10831082
|c_<Left>| <Left>/<Right> cursor left/right
10841083
|c_<S-Left>| <S-Left>/<S-Right> cursor one word left/right

0 commit comments

Comments
 (0)