Skip to content

Commit 4cdf6de

Browse files
committed
Merge remote-tracking branch 'vim/master'
2 parents 6030f9d + 7254067 commit 4cdf6de

56 files changed

Lines changed: 1033 additions & 701 deletions

Some content is hidden

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

runtime/doc/autocmd.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
*autocmd.txt* For Vim version 8.0. Last change: 2018 Jan 31
1+
*autocmd.txt* For Vim version 8.0. Last change: 2018 Feb 09
22

33

44
VIM REFERENCE MANUAL by Bram Moolenaar
@@ -33,7 +33,7 @@ files matching *.c. You can also use autocommands to implement advanced
3333
features, such as editing compressed files (see |gzip-example|). The usual
3434
place to put autocommands is in your .vimrc or .exrc file.
3535

36-
*E203* *E204* *E143* *E855* *E937*
36+
*E203* *E204* *E143* *E855* *E937* *E952*
3737
WARNING: Using autocommands is very powerful, and may lead to unexpected side
3838
effects. Be careful not to destroy your text.
3939
- It's a good idea to do some testing on an expendable copy of a file first.

runtime/doc/eval.txt

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
*eval.txt* For Vim version 8.0. Last change: 2018 Jan 28
1+
*eval.txt* For Vim version 8.0. Last change: 2018 Feb 09
22

33

44
VIM REFERENCE MANUAL by Bram Moolenaar
@@ -4484,10 +4484,13 @@ getcwd([{winnr} [, {tabnr}]])
44844484
Without arguments, for the current window.
44854485

44864486
With {winnr} return the local current directory of this window
4487-
in the current tab page.
4487+
in the current tab page. {winnr} can be the window number or
4488+
the |window-ID|.
4489+
If {winnr} is -1 return the name of the global working
4490+
directory. See also |haslocaldir()|.
4491+
44884492
With {winnr} and {tabnr} return the local current directory of
44894493
the window in the specified tab page.
4490-
{winnr} can be the window number or the |window-ID|.
44914494
Return an empty string if the arguments are invalid.
44924495

44934496
getfsize({fname}) *getfsize()*
@@ -5933,8 +5936,6 @@ matchaddpos({group}, {pos} [, {priority} [, {id} [, {dict}]]])
59335936
< Matches added by |matchaddpos()| are returned by
59345937
|getmatches()| with an entry "pos1", "pos2", etc., with the
59355938
value a list like the {pos} item.
5936-
These matches cannot be set via |setmatches()|, however they
5937-
can still be deleted by |clearmatches()|.
59385939

59395940
matcharg({nr}) *matcharg()*
59405941
Selects the {nr} match item, as set with a |:match|,

runtime/doc/filetype.txt

Lines changed: 5 additions & 39 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
*filetype.txt* For Vim version 8.0. Last change: 2017 Dec 05
1+
*filetype.txt* For Vim version 8.0. Last change: 2018 Feb 04
22

33

44
VIM REFERENCE MANUAL by Bram Moolenaar
@@ -602,51 +602,17 @@ MANPAGER *manpager.vim*
602602
The :Man command allows you to turn Vim into a manpager (that syntax highlights
603603
manpages and follows linked manpages on hitting CTRL-]).
604604

605-
Tested on:
606-
607-
- Linux
608-
- Mac OS
609-
- FreeBSD
610-
- OpenBSD
611-
- Cygwin
612-
- Win 10 under Bash
613-
614-
Untested:
615-
616-
- Amiga OS
617-
- BeOS
618-
- OS/2
619-
620-
If man sets the $MAN_PN environment variable, like man-db, the most common
621-
implementation on Linux, then the "env MAN_PN=1 " part below should NOT be
622-
set, that is, the "env MAN_PN=1" should be omitted! Otherwise, the Vim
623-
manpager does not correctly recognize manpages whose title contains a capital
624-
letter. See the discussion on
625-
626-
https://groups.google.com/forum/#!topic/vim_dev/pWZmt_7GkxI
627-
628605
For bash,zsh,ksh or dash, add to the config file (.bashrc,.zshrc, ...)
629606

630-
export MANPAGER="env MAN_PN=1 vim -M +MANPAGER -"
607+
export MANPAGER="vim -M +MANPAGER -"
631608

632609
For (t)csh, add to the config file
633610

634-
setenv MANPAGER "env MAN_PN=1 vim -M +MANPAGER -"
611+
setenv MANPAGER "vim -M +MANPAGER -"
635612

636613
For fish, add to the config file
637614

638-
set -x MANPAGER "env MAN_PN=1 vim -M +MANPAGER -"
639-
640-
On OpenBSD:
641-
642-
export MANPAGER="env MAN_PN=1 vim -M +MANPAGER"
643-
644-
If you experience still issues on manpages whose titles do not contain capital
645-
letters, then try adding MANPATH=${MANPATH} after MAN_PN=1. If your manpages do
646-
not show up localized, then try adding, LANGUAGE=${LANG} after MAN_PN=1. See
647-
648-
https://github.com/vim/vim/issues/1002
649-
615+
set -x MANPAGER "vim -M +MANPAGER -"
650616

651617
PDF *ft-pdf-plugin*
652618

@@ -669,7 +635,7 @@ By default the following options are set, in accordance with PEP8: >
669635
setlocal expandtab shiftwidth=4 softtabstop=4 tabstop=8
670636
671637
To disable this behaviour, set the following variable in your vimrc: >
672-
638+
673639
let g:python_recommended_style = 0
674640
675641

runtime/doc/if_pyth.txt

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
*if_pyth.txt* For Vim version 8.0. Last change: 2018 Jan 28
1+
*if_pyth.txt* For Vim version 8.0. Last change: 2018 Jan 30
22

33

44
VIM REFERENCE MANUAL by Paul Moore
@@ -823,14 +823,14 @@ To avoid loading the dynamic library, only check if Vim was compiled with
823823
python support: >
824824
if has('python_compiled')
825825
echo 'compiled with Python 2.x support'
826-
if has('python_dynamic
827-
echo 'Python 2.x dynamically loaded
826+
if has('python_dynamic')
827+
echo 'Python 2.x dynamically loaded'
828828
endif
829829
endif
830830
if has('python3_compiled')
831831
echo 'compiled with Python 3.x support'
832-
if has('python3_dynamic
833-
echo 'Python 3.x dynamically loaded
832+
if has('python3_dynamic')
833+
echo 'Python 3.x dynamically loaded'
834834
endif
835835
endif
836836

runtime/doc/message.txt

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
*message.txt* For Vim version 8.0. Last change: 2017 Oct 14
1+
*message.txt* For Vim version 8.0. Last change: 2018 Feb 04
22

33

44
VIM REFERENCE MANUAL by Bram Moolenaar
@@ -76,7 +76,7 @@ See `:messages` above.
7676
LIST OF MESSAGES
7777
*E222* *E228* *E232* *E256* *E293* *E298* *E304* *E317*
7878
*E318* *E356* *E438* *E439* *E440* *E316* *E320* *E322*
79-
*E323* *E341* *E473* *E570* *E685* >
79+
*E323* *E341* *E473* *E570* *E685* *E950* >
8080
Add to read buffer
8181
makemap: Illegal mode
8282
Cannot create BalloonEval with both message and callback
@@ -97,6 +97,7 @@ LIST OF MESSAGES
9797
Internal error
9898
Internal error: {function}
9999
fatal error in cs_manage_matches
100+
Invalid count for del_bytes(): {N}
100101
101102
This is an internal error. If you can reproduce it, please send in a bug
102103
report. |bugs|

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.0. Last change: 2017 Dec 21
1+
*options.txt* For Vim version 8.0. Last change: 2018 Feb 03
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.0. Last change: 2017 Jun 05
1+
*pattern.txt* For Vim version 8.0. Last change: 2018 Feb 04
22

33

44
VIM REFERENCE MANUAL by Bram Moolenaar
@@ -905,7 +905,7 @@ $ At end of pattern or in front of "\|", "\)" or "\n" ('magic' on):
905905
becomes invalid. Vim doesn't automatically update the matches.
906906
Similar to moving the cursor for "\%#" |/\%#|.
907907

908-
*/\%l* */\%>l* */\%<l*
908+
*/\%l* */\%>l* */\%<l* *E951*
909909
\%23l Matches in a specific line.
910910
\%<23l Matches above a specific line (lower line number).
911911
\%>23l Matches below a specific line (higher line number).

runtime/doc/quickref.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
*quickref.txt* For Vim version 8.0. Last change: 2017 Nov 21
1+
*quickref.txt* For Vim version 8.0. Last change: 2018 Jan 31
22

33

44
VIM REFERENCE MANUAL by Bram Moolenaar

runtime/doc/starting.txt

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
*starting.txt* For Vim version 8.0. Last change: 2018 Jan 27
1+
*starting.txt* For Vim version 8.0. Last change: 2018 Feb 09
22

33

44
VIM REFERENCE MANUAL by Bram Moolenaar
@@ -1011,14 +1011,13 @@ Vi compatible default value ~
10111011
When Vim starts, the 'compatible' option is on. This will be used when Vim
10121012
starts its initializations. But as soon as:
10131013
- a user vimrc file is found, or
1014-
- a vimrc file in the current directory, or
1014+
- a vimrc file in the current directoryis found, or
10151015
- the "VIMINIT" environment variable is set, or
10161016
- the "-N" command line argument is given, or
10171017
- the "--clean" command line argument is given, or
1018-
even when no vimrc file exists.
10191018
- the |defaults.vim| script is loaded, or
1020-
- gvimrc file was found,
1021-
then it will be set to 'nocompatible'.
1019+
- a gvimrc file was found,
1020+
then the option will be set to 'nocompatible'.
10221021

10231022
Note that this does NOT happen when a system-wide vimrc file was found.
10241023

runtime/doc/syntax.txt

Lines changed: 4 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
*syntax.txt* For Vim version 8.0. Last change: 2018 Jan 27
1+
*syntax.txt* For Vim version 8.0. Last change: 2018 Jan 31
22

33

44
VIM REFERENCE MANUAL by Bram Moolenaar
@@ -2779,13 +2779,10 @@ Ruby syntax will perform spellchecking of strings if you define
27792779

27802780
SCHEME *scheme.vim* *ft-scheme-syntax*
27812781

2782-
By default only R5RS keywords are highlighted and properly indented.
2782+
By default only R7RS keywords are highlighted and properly indented.
27832783

2784-
MzScheme-specific stuff will be used if b:is_mzscheme or g:is_mzscheme
2785-
variables are defined.
2786-
2787-
Also scheme.vim supports keywords of the Chicken Scheme->C compiler. Define
2788-
b:is_chicken or g:is_chicken, if you need them.
2784+
scheme.vim also supports extensions of the CHICKEN Scheme->C compiler.
2785+
Define b:is_chicken or g:is_chicken, if you need them.
27892786

27902787

27912788
SDL *sdl.vim* *ft-sdl-syntax*

0 commit comments

Comments
 (0)