Skip to content

Commit 33f2e0c

Browse files
committed
Merge remote-tracking branch 'vim/master'
2 parents e8ae05c + 1dccf63 commit 33f2e0c

52 files changed

Lines changed: 1286 additions & 366 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/editing.txt

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
*editing.txt* For Vim version 8.0. Last change: 2017 Aug 01
1+
*editing.txt* For Vim version 8.0. Last change: 2017 Aug 21
22

33

44
VIM REFERENCE MANUAL by Bram Moolenaar
@@ -1109,6 +1109,7 @@ The names can be in upper- or lowercase.
11091109
window in the current tab page the current tab page is
11101110
closed |tab-page|.
11111111
Triggers the |QuitPre| autocommand event.
1112+
See |CTRL-W_q| for quitting another window.
11121113

11131114
:conf[irm] q[uit] Quit, but give prompt when changes have been made, or
11141115
the last file in the argument list has not been

runtime/doc/eval.txt

Lines changed: 19 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
*eval.txt* For Vim version 8.0. Last change: 2017 Aug 11
1+
*eval.txt* For Vim version 8.0. Last change: 2017 Aug 13
22

33

44
VIM REFERENCE MANUAL by Bram Moolenaar
@@ -4616,6 +4616,11 @@ getqflist([{what}]) *getqflist()*
46164616
nr get information for this quickfix list; zero
46174617
means the current quickfix list and '$' means
46184618
the last quickfix list
4619+
text use 'errorformat' to extract items from the
4620+
text and return the resulting entries. The
4621+
value can be a string with one line or a list
4622+
with multiple lines. The current quickfix list
4623+
is not modified.
46194624
title get the list title
46204625
winid get the |window-ID| (if opened)
46214626
all all of the above quickfix properties
@@ -4624,6 +4629,9 @@ getqflist([{what}]) *getqflist()*
46244629
To get the number of lists in the quickfix stack, set 'nr' to
46254630
'$' in {what}. The 'nr' value in the returned dictionary
46264631
contains the quickfix stack size.
4632+
When 'text' is specified, all the other items are ignored. The
4633+
returned dictionary contains the entry 'items' with the list
4634+
of entries.
46274635
In case of error processing {what}, an empty dictionary is
46284636
returned.
46294637

@@ -5217,6 +5225,7 @@ job_setoptions({job}, {options}) *job_setoptions()*
52175225
job_start({command} [, {options}]) *job_start()*
52185226
Start a job and return a Job object. Unlike |system()| and
52195227
|:!cmd| this does not wait for the job to finish.
5228+
To start a job in a terminal window see |term_start()|.
52205229

52215230
{command} can be a String. This works best on MS-Windows. On
52225231
Unix it is split up in white-separated parts to be passed to
@@ -5955,7 +5964,7 @@ mode([expr]) Return a string that indicates the current mode.
59555964
a non-empty String (|non-zero-arg|), then the full mode is
59565965
returned, otherwise only the first letter is returned.
59575966

5958-
n Normal
5967+
n Normal, Terminal-Normal
59595968
no Operator-pending
59605969
v Visual by character
59615970
V Visual by line
@@ -5977,6 +5986,7 @@ mode([expr]) Return a string that indicates the current mode.
59775986
rm The -- more -- prompt
59785987
r? A |:confirm| query of some sort
59795988
! Shell or external command is executing
5989+
t Terminal-Job mode: keys go to the job
59805990
This is useful in the 'statusline' option or when used
59815991
with |remote_expr()| In most other places it always returns
59825992
"c" or "n".
@@ -7712,12 +7722,12 @@ synconcealed({lnum}, {col}) *synconcealed()*
77127722
the text is "123456" and both "23" and "45" are concealed
77137723
and replace by the character "X", then:
77147724
call returns ~
7715-
synconcealed(lnum, 1) [0, '', 0]
7716-
synconcealed(lnum, 2) [1, 'X', 1]
7717-
synconcealed(lnum, 3) [1, 'X', 1]
7718-
synconcealed(lnum, 4) [1, 'X', 2]
7719-
synconcealed(lnum, 5) [1, 'X', 2]
7720-
synconcealed(lnum, 6) [0, '', 0]
7725+
synconcealed(lnum, 1) [0, '', 0]
7726+
synconcealed(lnum, 2) [1, 'X', 1]
7727+
synconcealed(lnum, 3) [1, 'X', 1]
7728+
synconcealed(lnum, 4) [1, 'X', 2]
7729+
synconcealed(lnum, 5) [1, 'X', 2]
7730+
synconcealed(lnum, 6) [0, '', 0]
77217731

77227732

77237733
synstack({lnum}, {col}) *synstack()*
@@ -8625,7 +8635,7 @@ wordcount() *wordcount()*
86258635
(only in Visual mode)
86268636
visual_chars Number of chars visually selected
86278637
(only in Visual mode)
8628-
visual_words Number of chars visually selected
8638+
visual_words Number of words visually selected
86298639
(only in Visual mode)
86308640

86318641

runtime/doc/gui.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
*gui.txt* For Vim version 8.0. Last change: 2017 Jul 15
1+
*gui.txt* For Vim version 8.0. Last change: 2017 Aug 27
22

33

44
VIM REFERENCE MANUAL by Bram Moolenaar
@@ -67,7 +67,7 @@ When the GUI starts up initializations are carried out, in this order:
6767
executed as an Ex command.
6868
- If the user gvimrc file exists, it is sourced. The name of this file is
6969
normally "$HOME/.gvimrc". You can check this with ":version".
70-
- For Win32, when $HOME is not set, "$VIM\_gvimrc" is used.
70+
- For Win32, $HOME is set by Vim if needed, see |$HOME-windows|.
7171
- When a "_gvimrc" file is not found, ".gvimrc" is tried too. And vice
7272
versa.
7373
The name of the first file found is stored in $MYGVIMRC, unless it was

runtime/doc/intro.txt

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
*intro.txt* For Vim version 8.0. Last change: 2017 Aug 05
1+
*intro.txt* For Vim version 8.0. Last change: 2017 Aug 24
22

33

44
VIM REFERENCE MANUAL by Bram Moolenaar
@@ -839,10 +839,12 @@ by Vim. {Vi: not ok}
839839
==============================================================================
840840
8. Definitions *definitions*
841841

842+
buffer Contains lines of text, usually read from a file.
842843
screen The whole area that Vim uses to work in. This can be
843844
a terminal emulator window. Also called "the Vim
844845
window".
845-
window A view on a buffer.
846+
window A view on a buffer. There can be multiple windows for
847+
one buffer.
846848

847849
A screen contains one or more windows, separated by status lines and with the
848850
command line at the bottom.

runtime/doc/options.txt

Lines changed: 11 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
*options.txt* For Vim version 8.0. Last change: 2017 Jul 31
1+
*options.txt* For Vim version 8.0. Last change: 2017 Aug 27
22

33

44
VIM REFERENCE MANUAL by Bram Moolenaar
@@ -417,12 +417,13 @@ On Unix systems the form "${HOME}" can be used too. The name between {} can
417417
contain non-id characters then. Note that if you want to use this for the
418418
"gf" command, you need to add the '{' and '}' characters to 'isfname'.
419419

420-
On MS-Windows, if $HOME is not defined as an environment variable, then
421-
at runtime Vim will set it to the expansion of $HOMEDRIVE$HOMEPATH.
422-
423420
NOTE: expanding environment variables and "~/" is only done with the ":set"
424421
command, not when assigning a value to an option with ":let".
425422

423+
*$HOME-windows*
424+
On MS-Windows, if $HOME is not defined as an environment variable, then
425+
at runtime Vim will set it to the expansion of $HOMEDRIVE$HOMEPATH.
426+
426427

427428
Note the maximum length of an expanded option is limited. How much depends on
428429
the system, mostly it is something like 256 or 1024 characters.
@@ -894,6 +895,10 @@ A jump table for the options with a short description can be found at |Q_op|.
894895
"screen.linux", "cygwin" or "putty", or $COLORFGBG suggests a dark
895896
background. Otherwise the default is "light".
896897

898+
The |:terminal| command and the |term_start()| function use the
899+
'background' value to decide whether the terminal window will start
900+
with a white or black background.
901+
897902
Normally this option would be set in the .vimrc file. Possibly
898903
depending on the terminal name. Example: >
899904
:if &term == "pcterm"
@@ -4164,7 +4169,7 @@ A jump table for the options with a short description can be found at |Q_op|.
41644169
x:PmenuSbar,X:PmenuThumb,*:TabLine,
41654170
#:TabLineSel,_:TabLineFill,!:CursorColumn,
41664171
.:CursorLine,o:ColorColumn,q:QuickFixLine,
4167-
$:StatusLineTerm")
4172+
z:StatusLineTerm,Z:StatusLineTermNC")
41684173
global
41694174
{not in Vi}
41704175
This option can be used to set highlighting mode for various
@@ -5885,18 +5890,6 @@ A jump table for the options with a short description can be found at |Q_op|.
58855890
< Replace the ';' with a ':' or whatever separator is used. Note that
58865891
this doesn't work when $INCL contains a comma or white space.
58875892

5888-
*'perldll'*
5889-
'perldll' string (default depends on the build)
5890-
global
5891-
{not in Vi}
5892-
{only available when compiled with the |+perl/dyn|
5893-
feature}
5894-
Specifies the name of the Perl shared library. The default is
5895-
DYNAMIC_PERL_DLL, which was specified at compile time.
5896-
Environment variables are expanded |:set_env|.
5897-
This option cannot be set from a |modeline| or in the |sandbox|, for
5898-
security reasons.
5899-
59005893
*'preserveindent'* *'pi'* *'nopreserveindent'* *'nopi'*
59015894
'preserveindent' 'pi' boolean (default off)
59025895
local to buffer
@@ -9046,7 +9039,7 @@ A jump table for the options with a short description can be found at |Q_op|.
90469039
feature on MS-Windows}
90479040
Specifies the name of the winpty shared library, used for the
90489041
|:terminal| command. The default depends on whether was build as a
9049-
32-bit or 64-bit executable. If not found, "win32pty.dll" is tried as
9042+
32-bit or 64-bit executable. If not found, "winpty.dll" is tried as
90509043
a fallback.
90519044
Environment variables are expanded |:set_env|.
90529045
This option cannot be set from a |modeline| or in the |sandbox|, for

runtime/doc/quickref.txt

Lines changed: 2 additions & 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 Aug 01
1+
*quickref.txt* For Vim version 8.0. Last change: 2017 Aug 19
22

33

44
VIM REFERENCE MANUAL by Bram Moolenaar
@@ -984,6 +984,7 @@ Short explanation of each option: *option-list*
984984
'winfixwidth' 'wfw' keep window width when opening/closing windows
985985
'winminheight' 'wmh' minimum number of lines for any window
986986
'winminwidth' 'wmw' minimal number of columns for any window
987+
'winptydll' name of the winpty dynamic library
987988
'winwidth' 'wiw' minimal number of columns for current window
988989
'wrap' long lines wrap and continue on the next line
989990
'wrapmargin' 'wm' chars from the right where wrapping starts

runtime/doc/syntax.txt

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
*syntax.txt* For Vim version 8.0. Last change: 2017 Jul 14
1+
*syntax.txt* For Vim version 8.0. Last change: 2017 Aug 12
22

33

44
VIM REFERENCE MANUAL by Bram Moolenaar
@@ -2138,6 +2138,16 @@ set "msql_minlines" to the value you desire. Example: >
21382138
:let msql_minlines = 200
21392139
21402140
2141+
N1QL *n1ql.vim* *ft-n1ql-syntax*
2142+
2143+
N1QL is a SQL-like declarative language for manipulating JSON documents in
2144+
Couchbase Server databases.
2145+
2146+
Vim syntax highlights N1QL statements, keywords, operators, types, comments,
2147+
and special values. Vim ignores syntactical elements specific to SQL or its
2148+
many dialects, like COLUMN or CHAR, that don't exist in N1QL.
2149+
2150+
21412151
NCF *ncf.vim* *ft-ncf-syntax*
21422152

21432153
There is one option for NCF syntax highlighting.

runtime/doc/tags

Lines changed: 17 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -764,7 +764,6 @@ $VIM_POSIX vi_diff.txt /*$VIM_POSIX*
764764
'path' options.txt /*'path'*
765765
'pdev' options.txt /*'pdev'*
766766
'penc' options.txt /*'penc'*
767-
'perldll' options.txt /*'perldll'*
768767
'pex' options.txt /*'pex'*
769768
'pexpr' options.txt /*'pexpr'*
770769
'pfn' options.txt /*'pfn'*
@@ -955,6 +954,7 @@ $VIM_POSIX vi_diff.txt /*$VIM_POSIX*
955954
't_Co' term.txt /*'t_Co'*
956955
't_Cs' term.txt /*'t_Cs'*
957956
't_DL' term.txt /*'t_DL'*
957+
't_EC' term.txt /*'t_EC'*
958958
't_EI' term.txt /*'t_EI'*
959959
't_F1' term.txt /*'t_F1'*
960960
't_F2' term.txt /*'t_F2'*
@@ -992,11 +992,15 @@ $VIM_POSIX vi_diff.txt /*$VIM_POSIX*
992992
't_PS' term.txt /*'t_PS'*
993993
't_RB' term.txt /*'t_RB'*
994994
't_RI' term.txt /*'t_RI'*
995+
't_RS' term.txt /*'t_RS'*
995996
't_RV' term.txt /*'t_RV'*
997+
't_SC' term.txt /*'t_SC'*
998+
't_SH' term.txt /*'t_SH'*
996999
't_SI' term.txt /*'t_SI'*
9971000
't_SR' term.txt /*'t_SR'*
9981001
't_Sb' term.txt /*'t_Sb'*
9991002
't_Sf' term.txt /*'t_Sf'*
1003+
't_VS' term.txt /*'t_VS'*
10001004
't_WP' term.txt /*'t_WP'*
10011005
't_WS' term.txt /*'t_WS'*
10021006
't_ZH' term.txt /*'t_ZH'*
@@ -1189,6 +1193,7 @@ $VIM_POSIX vi_diff.txt /*$VIM_POSIX*
11891193
'winheight' options.txt /*'winheight'*
11901194
'winminheight' options.txt /*'winminheight'*
11911195
'winminwidth' options.txt /*'winminwidth'*
1196+
'winptydll' options.txt /*'winptydll'*
11921197
'winwidth' options.txt /*'winwidth'*
11931198
'wiv' options.txt /*'wiv'*
11941199
'wiw' options.txt /*'wiw'*
@@ -4592,6 +4597,7 @@ E944 pattern.txt /*E944*
45924597
E945 pattern.txt /*E945*
45934598
E946 terminal.txt /*E946*
45944599
E947 terminal.txt /*E947*
4600+
E948 terminal.txt /*E948*
45954601
E95 message.txt /*E95*
45964602
E96 diff.txt /*E96*
45974603
E97 diff.txt /*E97*
@@ -6196,6 +6202,7 @@ ft-mathematica-syntax syntax.txt /*ft-mathematica-syntax*
61966202
ft-mma-syntax syntax.txt /*ft-mma-syntax*
61976203
ft-moo-syntax syntax.txt /*ft-moo-syntax*
61986204
ft-msql-syntax syntax.txt /*ft-msql-syntax*
6205+
ft-n1ql-syntax syntax.txt /*ft-n1ql-syntax*
61996206
ft-nasm-syntax syntax.txt /*ft-nasm-syntax*
62006207
ft-ncf-syntax syntax.txt /*ft-ncf-syntax*
62016208
ft-nroff-syntax syntax.txt /*ft-nroff-syntax*
@@ -7476,6 +7483,7 @@ mzscheme-vim if_mzsch.txt /*mzscheme-vim*
74767483
mzscheme-vimext if_mzsch.txt /*mzscheme-vimext*
74777484
mzscheme-window if_mzsch.txt /*mzscheme-window*
74787485
n pattern.txt /*n*
7486+
n1ql.vim syntax.txt /*n1ql.vim*
74797487
nasm.vim syntax.txt /*nasm.vim*
74807488
navigation motion.txt /*navigation*
74817489
nb-commands netbeans.txt /*nb-commands*
@@ -7819,6 +7827,7 @@ no-type-checking eval.txt /*no-type-checking*
78197827
no_buffers_menu gui.txt /*no_buffers_menu*
78207828
no_mail_maps filetype.txt /*no_mail_maps*
78217829
no_plugin_maps filetype.txt /*no_plugin_maps*
7830+
nocombine syntax.txt /*nocombine*
78227831
non-greedy pattern.txt /*non-greedy*
78237832
non-zero-arg eval.txt /*non-zero-arg*
78247833
none-variable eval.txt /*none-variable*
@@ -8637,12 +8646,14 @@ t_AL term.txt /*t_AL*
86378646
t_BD term.txt /*t_BD*
86388647
t_BE term.txt /*t_BE*
86398648
t_CS term.txt /*t_CS*
8649+
t_CTRL-W_CTRL-C terminal.txt /*t_CTRL-W_CTRL-C*
86408650
t_CTRL-\_CTRL-N terminal.txt /*t_CTRL-\\_CTRL-N*
86418651
t_CV term.txt /*t_CV*
86428652
t_Ce term.txt /*t_Ce*
86438653
t_Co term.txt /*t_Co*
86448654
t_Cs term.txt /*t_Cs*
86458655
t_DL term.txt /*t_DL*
8656+
t_EC term.txt /*t_EC*
86468657
t_EI term.txt /*t_EI*
86478658
t_F1 term.txt /*t_F1*
86488659
t_F2 term.txt /*t_F2*
@@ -8680,11 +8691,15 @@ t_PE term.txt /*t_PE*
86808691
t_PS term.txt /*t_PS*
86818692
t_RB term.txt /*t_RB*
86828693
t_RI term.txt /*t_RI*
8694+
t_RS term.txt /*t_RS*
86838695
t_RV term.txt /*t_RV*
8696+
t_SC term.txt /*t_SC*
8697+
t_SH term.txt /*t_SH*
86848698
t_SI term.txt /*t_SI*
86858699
t_SR term.txt /*t_SR*
86868700
t_Sb term.txt /*t_Sb*
86878701
t_Sf term.txt /*t_Sf*
8702+
t_VS term.txt /*t_VS*
86888703
t_WP term.txt /*t_WP*
86898704
t_WS term.txt /*t_WS*
86908705
t_ZH term.txt /*t_ZH*
@@ -8927,6 +8942,7 @@ termcap-title term.txt /*termcap-title*
89278942
terminal terminal.txt /*terminal*
89288943
terminal-colors os_unix.txt /*terminal-colors*
89298944
terminal-debug terminal.txt /*terminal-debug*
8945+
terminal-functions usr_41.txt /*terminal-functions*
89308946
terminal-info term.txt /*terminal-info*
89318947
terminal-key-codes term.txt /*terminal-key-codes*
89328948
terminal-options term.txt /*terminal-options*

0 commit comments

Comments
 (0)