Skip to content

Commit a3467ed

Browse files
committed
Merge remote-tracking branch 'vim/master'
2 parents d552421 + 7177da9 commit a3467ed

105 files changed

Lines changed: 2605 additions & 1869 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

runtime/autoload/spellfile.vim

Lines changed: 4 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,11 @@
11
" Vim script to download a missing spell file
22
" Maintainer: Bram Moolenaar <[email protected]>
3-
" Last Change: 2012 Jan 08
3+
" Last Change: 2020 Jul 10
44

55
if !exists('g:spellfile_URL')
6-
" Prefer using http:// when netrw should be able to use it, since
7-
" more firewalls let this through.
8-
if executable("curl") || executable("wget") || executable("fetch")
9-
let g:spellfile_URL = 'http://ftp.vim.org/pub/vim/runtime/spell'
10-
else
11-
let g:spellfile_URL = 'ftp://ftp.vim.org/pub/vim/runtime/spell'
12-
endif
6+
" Always use https:// because it's secure. The certificate is for nluug.nl,
7+
" thus we can't use the alias ftp.vim.org here.
8+
let g:spellfile_URL = 'https://ftp.nluug.nl/pub/vim/runtime/spell'
139
endif
1410
let s:spellfile_URL = '' " Start with nothing so that s:donedict is reset.
1511

runtime/doc/Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -397,7 +397,7 @@ test_urls:
397397
vim -S test_urls.vim
398398

399399
clean:
400-
-rm doctags *.html tags.ref
400+
-rm -f doctags *.html tags.ref
401401

402402
# These files are in the extra archive, skip if not present
403403

runtime/doc/channel.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
*channel.txt* For Vim version 8.2. Last change: 2020 Jun 01
1+
*channel.txt* For Vim version 8.2. Last change: 2020 Jul 10
22

33

44
VIM REFERENCE MANUAL by Bram Moolenaar
@@ -1259,7 +1259,7 @@ can start typing a line.
12591259
The text of the prompt can be set with the |prompt_setprompt()| function.
12601260

12611261
The user can go to Normal mode and navigate through the buffer. This can be
1262-
useful see older output or copy text.
1262+
useful to see older output or copy text.
12631263

12641264
The CTRL-W key can be used to start a window command, such as CTRL-W w to
12651265
switch to the next window. This also works in Insert mode (use Shift-CTRL-W

runtime/doc/editing.txt

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
*editing.txt* For Vim version 8.2. Last change: 2020 Jun 05
1+
*editing.txt* For Vim version 8.2. Last change: 2020 Jul 05
22

33

44
VIM REFERENCE MANUAL by Bram Moolenaar
@@ -1402,15 +1402,15 @@ to 0, 'modeline' off, 'expandtab' off). Setting the 'binary' option has the
14021402
same effect. Don't forget to do this before reading the file.
14031403

14041404
There are a few things to remember when editing binary files:
1405-
- When editing executable files the number of characters must not change.
1405+
- When editing executable files the number of bytes must not change.
14061406
Use only the "R" or "r" command to change text. Do not delete characters
14071407
with "x" or by backspacing.
14081408
- Set the 'textwidth' option to 0. Otherwise lines will unexpectedly be
14091409
split in two.
14101410
- When there are not many <EOL>s, the lines will become very long. If you
14111411
want to edit a line that does not fit on the screen reset the 'wrap' option.
14121412
Horizontal scrolling is used then. If a line becomes too long (more than
1413-
about 32767 characters on the Amiga, much more on 32-bit systems, see
1413+
about 32767 bytes on the Amiga, much more on 32-bit and 64-bit systems, see
14141414
|limits|) you cannot edit that line. The line will be split when reading
14151415
the file. It is also possible that you get an "out of memory" error when
14161416
reading the file.

runtime/doc/eval.txt

Lines changed: 18 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
*eval.txt* For Vim version 8.2. Last change: 2020 Jun 30
1+
*eval.txt* For Vim version 8.2. Last change: 2020 Jul 09
22

33

44
VIM REFERENCE MANUAL by Bram Moolenaar
@@ -3048,7 +3048,8 @@ append({lnum}, {text}) *append()*
30483048
:let failed = append(line('$'), "# THE END")
30493049
:let failed = append(0, ["Chapter 1", "the beginning"])
30503050

3051-
< Can also be used as a |method| after a List: >
3051+
< Can also be used as a |method| after a List, the base is
3052+
passed as the second argument: >
30523053
mylist->append(lnum)
30533054

30543055

@@ -3070,7 +3071,8 @@ appendbufline({expr}, {lnum}, {text}) *appendbufline()*
30703071
error message is given. Example: >
30713072
:let failed = appendbufline(13, 0, "# THE START")
30723073
<
3073-
Can also be used as a |method| after a List: >
3074+
< Can also be used as a |method| after a List, the base is
3075+
passed as the second argument: >
30743076
mylist->appendbufline(buf, lnum)
30753077

30763078

@@ -3914,6 +3916,7 @@ deepcopy({expr} [, {noref}]) *deepcopy()* *E698*
39143916
changing an item in the copy does not change the contents of
39153917
the original |List|.
39163918
A |Dictionary| is copied in a similar way as a |List|.
3919+
39173920
When {noref} is omitted or zero a contained |List| or
39183921
|Dictionary| is only copied once. All references point to
39193922
this single copy. With {noref} set to 1 every occurrence of a
@@ -4850,27 +4853,33 @@ get({list}, {idx} [, {default}]) *get()*
48504853
Get item {idx} from |List| {list}. When this item is not
48514854
available return {default}. Return zero when {default} is
48524855
omitted.
4853-
Can also be used as a |method|: >
4856+
Preferably used as a |method|: >
48544857
mylist->get(idx)
48554858
get({blob}, {idx} [, {default}])
48564859
Get byte {idx} from |Blob| {blob}. When this byte is not
48574860
available return {default}. Return -1 when {default} is
48584861
omitted.
4862+
Preferably used as a |method|: >
4863+
myblob->get(idx)
48594864
get({dict}, {key} [, {default}])
48604865
Get item with key {key} from |Dictionary| {dict}. When this
48614866
item is not available return {default}. Return zero when
48624867
{default} is omitted. Useful example: >
48634868
let val = get(g:, 'var_name', 'default')
48644869
< This gets the value of g:var_name if it exists, and uses
48654870
'default' when it does not exist.
4871+
Preferably used as a |method|: >
4872+
mydict->get(key)
48664873
get({func}, {what})
48674874
Get an item with from Funcref {func}. Possible values for
48684875
{what} are:
48694876
"name" The function name
48704877
"func" The function
48714878
"dict" The dictionary
48724879
"args" The list with arguments
4873-
4880+
Preferably used as a |method|: >
4881+
myfunc->get(what)
4882+
<
48744883
*getbufinfo()*
48754884
getbufinfo([{expr}])
48764885
getbufinfo([{dict}])
@@ -9025,6 +9034,8 @@ setloclist({nr}, {list} [, {action} [, {what}]]) *setloclist()*
90259034
Otherwise, same as |setqflist()|.
90269035
Also see |location-list|.
90279036

9037+
For {action} see |setqflist-action|.
9038+
90289039
If the optional {what} dictionary argument is supplied, then
90299040
only the items listed in {what} are set. Refer to |setqflist()|
90309041
for the list of supported keys in {what}.
@@ -9103,7 +9114,7 @@ setqflist({list} [, {action} [, {what}]]) *setqflist()*
91039114
only the items listed in {what} are set. The first {list}
91049115
argument is ignored. See below for the supported items in
91059116
{what}.
9106-
9117+
*setqflist-what*
91079118
When {what} is not present, the items in {list} or used. Each
91089119
item must be a dictionary. Non-dictionary items in {list} are
91099120
ignored. Each dictionary item can contain the following
@@ -9140,7 +9151,7 @@ setqflist({list} [, {action} [, {what}]]) *setqflist()*
91409151
Note that the list is not exactly the same as what
91419152
|getqflist()| returns.
91429153

9143-
{action} values: *E927*
9154+
{action} values: *setqflist-action* *E927*
91449155
'a' The items from {list} are added to the existing
91459156
quickfix list. If there is no existing list, then a
91469157
new list is created.

runtime/doc/options.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
*options.txt* For Vim version 8.2. Last change: 2020 Jun 10
1+
*options.txt* For Vim version 8.2. Last change: 2020 Jul 05
22

33

44
VIM REFERENCE MANUAL by Bram Moolenaar

runtime/doc/pattern.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
*pattern.txt* For Vim version 8.2. Last change: 2019 Dec 07
1+
*pattern.txt* For Vim version 8.2. Last change: 2020 Jul 10
22

33

44
VIM REFERENCE MANUAL by Bram Moolenaar
@@ -1279,7 +1279,7 @@ not match in "càt" (where the a has the composing character 0x0300), but
12791279
0xe1, it does not have a compositing character). It does match "cat" (where
12801280
the a is just an a).
12811281

1282-
When a composing character appears at the start of the pattern of after an
1282+
When a composing character appears at the start of the pattern or after an
12831283
item that doesn't include the composing character, a match is found at any
12841284
character that includes this composing character.
12851285

runtime/doc/spell.txt

Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
*spell.txt* For Vim version 8.2. Last change: 2020 Jun 10
1+
*spell.txt* For Vim version 8.2. Last change: 2020 Jul 10
22

33

44
VIM REFERENCE MANUAL by Bram Moolenaar
@@ -653,11 +653,12 @@ ask you where to write the file (there must be a writable directory in
653653
'runtimepath' for this).
654654

655655
The plugin has a default place where to look for spell files, on the Vim ftp
656-
server. If you want to use another location or another protocol, set the
657-
g:spellfile_URL variable to the directory that holds the spell files. The
658-
|netrw| plugin is used for getting the file, look there for the specific
659-
syntax of the URL. Example: >
660-
let g:spellfile_URL = 'http://ftp.vim.org/vim/runtime/spell'
656+
server. The protocol used is SSL (https://) for security. If you want to use
657+
another location or another protocol, set the g:spellfile_URL variable to the
658+
directory that holds the spell files. You can use http:// or ftp://, but you
659+
are taking a security risk then. The |netrw| plugin is used for getting the
660+
file, look there for the specific syntax of the URL. Example: >
661+
let g:spellfile_URL = 'https://ftp.nluug.nl/vim/runtime/spell'
661662
You may need to escape special characters.
662663

663664
The plugin will only ask about downloading a language once. If you want to

runtime/doc/syntax.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
*syntax.txt* For Vim version 8.2. Last change: 2020 Jun 01
1+
*syntax.txt* For Vim version 8.2. Last change: 2020 Jul 08
22

33

44
VIM REFERENCE MANUAL by Bram Moolenaar
@@ -1403,7 +1403,7 @@ to your startup file.
14031403

14041404
EUPHORIA *euphoria3.vim* *euphoria4.vim* *ft-euphoria-syntax*
14051405

1406-
Two syntax highlighting files exists for Euphoria. One for Euphoria
1406+
Two syntax highlighting files exist for Euphoria. One for Euphoria
14071407
version 3.1.1, which is the default syntax highlighting file, and one for
14081408
Euphoria version 4.0.5 or later.
14091409

runtime/doc/tags

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4753,6 +4753,7 @@ E855 autocmd.txt /*E855*
47534753
E858 eval.txt /*E858*
47544754
E859 eval.txt /*E859*
47554755
E86 windows.txt /*E86*
4756+
E860 textprop.txt /*E860*
47564757
E861 popup.txt /*E861*
47574758
E862 eval.txt /*E862*
47584759
E863 popup.txt /*E863*
@@ -8953,7 +8954,9 @@ setloclist() eval.txt /*setloclist()*
89538954
setmatches() eval.txt /*setmatches()*
89548955
setpos() eval.txt /*setpos()*
89558956
setqflist() eval.txt /*setqflist()*
8957+
setqflist-action eval.txt /*setqflist-action*
89568958
setqflist-examples quickfix.txt /*setqflist-examples*
8959+
setqflist-what eval.txt /*setqflist-what*
89578960
setreg() eval.txt /*setreg()*
89588961
settabvar() eval.txt /*settabvar()*
89598962
settabwinvar() eval.txt /*settabwinvar()*

0 commit comments

Comments
 (0)