vim-patch:b5b7562475ad

Update runtime files.
b5b7562475

---

NA patch (Nvim does not ship with spell files):
vim-patch:3ad8772ef02e
Include Serbian spell input files
3ad8772ef0
This commit is contained in:
Justin M. Keyes
2018-10-29 06:21:37 +01:00
parent fb8f822d9c
commit c7513368f0
8 changed files with 60 additions and 251 deletions

View File

@@ -318,6 +318,10 @@ Name triggered by ~
|CmdwinEnter| after entering the command-line window |CmdwinEnter| after entering the command-line window
|CmdwinLeave| before leaving the command-line window |CmdwinLeave| before leaving the command-line window
|CmdlineChanged| after a change was made to the command-line text
|CmdlineEnter| after the cursor moves to the command line
|CmdlineLeave| before the cursor leaves the command line
|InsertEnter| starting Insert mode |InsertEnter| starting Insert mode
|InsertChange| when typing <Insert> while in Insert or Replace mode |InsertChange| when typing <Insert> while in Insert or Replace mode
|InsertLeave| when leaving Insert mode |InsertLeave| when leaving Insert mode
@@ -513,6 +517,10 @@ CmdUndefined When a user command is used but it isn't
command is defined. An alternative is to command is defined. An alternative is to
always define the user command and have it always define the user command and have it
invoke an autoloaded function. See |autoload|. invoke an autoloaded function. See |autoload|.
*CmdlineChanged*
CmdlineChanged After a change was made to the text in the
command line. Be careful not to mess up
the command line, it may cause Vim to lock up.
*CmdlineEnter* *CmdlineEnter*
CmdlineEnter After moving the cursor to the command line, CmdlineEnter After moving the cursor to the command line,
where the user can type a command or search where the user can type a command or search
@@ -936,6 +944,7 @@ SwapExists Detected an existing swap file when starting
It is not allowed to change to another buffer, It is not allowed to change to another buffer,
change a buffer name or change directory change a buffer name or change directory
here. here.
{only available with the +eval feature}
*Syntax* *Syntax*
Syntax When the 'syntax' option has been set. The Syntax When the 'syntax' option has been set. The
pattern is matched against the syntax name. pattern is matched against the syntax name.

View File

@@ -71,7 +71,7 @@ and only the first one that is found is read.
:winp[os] :winp[os]
Display current position of the top left corner of the GUI vim Display current position of the top left corner of the GUI vim
window in pixels. Does not work in all versions. window in pixels. Does not work in all versions.
Also see |getwinposx()| and |getwinposy()|. Also see |getwinpos()|, |getwinposx()| and |getwinposy()|.
:winp[os] {X} {Y} *E466* :winp[os] {X} {Y} *E466*
Put the GUI vim window at the given {X} and {Y} coordinates. Put the GUI vim window at the given {X} and {Y} coordinates.

View File

@@ -575,8 +575,6 @@ A jump table for the options with a short description can be found at |Q_op|.
*'ambiwidth'* *'ambw'* *'ambiwidth'* *'ambw'*
'ambiwidth' 'ambw' string (default: "single") 'ambiwidth' 'ambw' string (default: "single")
global global
{only available when compiled with the |+multi_byte|
feature}
Tells Vim what to do with characters with East Asian Width Class Tells Vim what to do with characters with East Asian Width Class
Ambiguous (such as Euro, Registered Sign, Copyright Sign, Greek Ambiguous (such as Euro, Registered Sign, Copyright Sign, Greek
letters, Cyrillic letters). letters, Cyrillic letters).
@@ -611,8 +609,6 @@ A jump table for the options with a short description can be found at |Q_op|.
*'autochdir'* *'acd'* *'noautochdir'* *'noacd'* *'autochdir'* *'acd'* *'noautochdir'* *'noacd'*
'autochdir' 'acd' boolean (default off) 'autochdir' 'acd' boolean (default off)
global global
{only available when compiled with it, use
exists("+autochdir") to check}
When on, Vim will change the current working directory whenever you When on, Vim will change the current working directory whenever you
open a file, switch buffers, delete a buffer or open/close a window. open a file, switch buffers, delete a buffer or open/close a window.
It will change to the directory containing the file which was opened It will change to the directory containing the file which was opened
@@ -909,8 +905,6 @@ A jump table for the options with a short description can be found at |Q_op|.
*'backupskip'* *'bsk'* *'backupskip'* *'bsk'*
'backupskip' 'bsk' string (default: "/tmp/*,$TMPDIR/*,$TMP/*,$TEMP/*") 'backupskip' 'bsk' string (default: "/tmp/*,$TMPDIR/*,$TMP/*,$TEMP/*")
global global
{not available when compiled without the |+wildignore|
feature}
A list of file patterns. When one of the patterns matches with the A list of file patterns. When one of the patterns matches with the
name of the file which is written, no backup file is created. Both name of the file which is written, no backup file is created. Both
the specified file name and the full path name of the file are used. the specified file name and the full path name of the file are used.
@@ -1014,8 +1008,6 @@ A jump table for the options with a short description can be found at |Q_op|.
*'bomb'* *'nobomb'* *'bomb'* *'nobomb'*
'bomb' boolean (default off) 'bomb' boolean (default off)
local to buffer local to buffer
{only available when compiled with the |+multi_byte|
feature}
When writing a file and the following conditions are met, a BOM (Byte When writing a file and the following conditions are met, a BOM (Byte
Order Mark) is prepended to the file: Order Mark) is prepended to the file:
- this option is on - this option is on
@@ -1035,16 +1027,12 @@ A jump table for the options with a short description can be found at |Q_op|.
*'breakat'* *'brk'* *'breakat'* *'brk'*
'breakat' 'brk' string (default " ^I!@*-+;:,./?") 'breakat' 'brk' string (default " ^I!@*-+;:,./?")
global global
{not available when compiled without the |+linebreak|
feature}
This option lets you choose which characters might cause a line This option lets you choose which characters might cause a line
break if 'linebreak' is on. Only works for ASCII characters. break if 'linebreak' is on. Only works for ASCII characters.
*'breakindent'* *'bri'* *'breakindent'* *'bri'*
'breakindent' 'bri' boolean (default off) 'breakindent' 'bri' boolean (default off)
local to window local to window
{not available when compiled without the |+linebreak|
feature}
Every wrapped line will continue visually indented (same amount of Every wrapped line will continue visually indented (same amount of
space as the beginning of that line), thus preserving horizontal blocks space as the beginning of that line), thus preserving horizontal blocks
of text. of text.
@@ -1052,8 +1040,6 @@ A jump table for the options with a short description can be found at |Q_op|.
*'breakindentopt'* *'briopt'* *'breakindentopt'* *'briopt'*
'breakindentopt' 'briopt' string (default empty) 'breakindentopt' 'briopt' string (default empty)
local to window local to window
{not available when compiled without the |+linebreak|
feature}
Settings for 'breakindent'. It can consist of the following optional Settings for 'breakindent'. It can consist of the following optional
items and must be separated by a comma: items and must be separated by a comma:
min:{n} Minimum text width that will be kept after min:{n} Minimum text width that will be kept after
@@ -1073,7 +1059,6 @@ A jump table for the options with a short description can be found at |Q_op|.
*'browsedir'* *'bsdir'* *'browsedir'* *'bsdir'*
'browsedir' 'bsdir' string (default: "last") 'browsedir' 'bsdir' string (default: "last")
global global
{only for Mac and Win32 GUI}
Which directory to use for the file browser: Which directory to use for the file browser:
last Use same directory as with last file browser, where a last Use same directory as with last file browser, where a
file was opened or saved. file was opened or saved.
@@ -1084,8 +1069,6 @@ A jump table for the options with a short description can be found at |Q_op|.
*'bufhidden'* *'bh'* *'bufhidden'* *'bh'*
'bufhidden' 'bh' string (default: "") 'bufhidden' 'bh' string (default: "")
local to buffer local to buffer
{not available when compiled without the |+quickfix|
feature}
This option specifies what happens when a buffer is no longer This option specifies what happens when a buffer is no longer
displayed in a window: displayed in a window:
<empty> follow the global 'hidden' option <empty> follow the global 'hidden' option
@@ -1161,8 +1144,6 @@ A jump table for the options with a short description can be found at |Q_op|.
*'casemap'* *'cmp'* *'casemap'* *'cmp'*
'casemap' 'cmp' string (default: "internal,keepascii") 'casemap' 'cmp' string (default: "internal,keepascii")
global global
{only available when compiled with the |+multi_byte|
feature}
Specifies details about changing the case of letters. It may contain Specifies details about changing the case of letters. It may contain
these words, separated by a comma: these words, separated by a comma:
internal Use internal case mapping functions, the current internal Use internal case mapping functions, the current
@@ -1176,8 +1157,6 @@ A jump table for the options with a short description can be found at |Q_op|.
*'cdpath'* *'cd'* *E344* *E346* *'cdpath'* *'cd'* *E344* *E346*
'cdpath' 'cd' string (default: equivalent to $CDPATH or ",,") 'cdpath' 'cd' string (default: equivalent to $CDPATH or ",,")
global global
{not available when compiled without the
|+file_in_path| feature}
This is a list of directories which will be searched when using the This is a list of directories which will be searched when using the
|:cd| and |:lcd| commands, provided that the directory being searched |:cd| and |:lcd| commands, provided that the directory being searched
for has a relative path, not an absolute part starting with "/", "./" for has a relative path, not an absolute part starting with "/", "./"
@@ -1216,8 +1195,6 @@ A jump table for the options with a short description can be found at |Q_op|.
*'charconvert'* *'ccv'* *E202* *E214* *E513* *'charconvert'* *'ccv'* *E202* *E214* *E513*
'charconvert' 'ccv' string (default "") 'charconvert' 'ccv' string (default "")
global global
{only available when compiled with the |+multi_byte|
and |+eval| features}
An expression that is used for character encoding conversion. It is An expression that is used for character encoding conversion. It is
evaluated when a file that is to be read or has been written has a evaluated when a file that is to be read or has been written has a
different encoding from what is desired. different encoding from what is desired.
@@ -1335,8 +1312,6 @@ A jump table for the options with a short description can be found at |Q_op|.
*'colorcolumn'* *'cc'* *'colorcolumn'* *'cc'*
'colorcolumn' 'cc' string (default "") 'colorcolumn' 'cc' string (default "")
local to window local to window
{not available when compiled without the |+syntax|
feature}
'colorcolumn' is a comma separated list of screen columns that are 'colorcolumn' is a comma separated list of screen columns that are
highlighted with ColorColumn |hl-ColorColumn|. Useful to align highlighted with ColorColumn |hl-ColorColumn|. Useful to align
text. Will make screen redrawing slower. text. Will make screen redrawing slower.
@@ -1377,8 +1352,6 @@ A jump table for the options with a short description can be found at |Q_op|.
*'commentstring'* *'cms'* *E537* *'commentstring'* *'cms'* *E537*
'commentstring' 'cms' string (default "/*%s*/") 'commentstring' 'cms' string (default "/*%s*/")
local to buffer local to buffer
{not available when compiled without the |+folding|
feature}
A template for a comment. The "%s" in the value is replaced with the A template for a comment. The "%s" in the value is replaced with the
comment text. Currently only used to add markers for folding, see comment text. Currently only used to add markers for folding, see
|fold-marker|. |fold-marker|.
@@ -1421,8 +1394,6 @@ A jump table for the options with a short description can be found at |Q_op|.
*'completefunc'* *'cfu'* *'completefunc'* *'cfu'*
'completefunc' 'cfu' string (default: empty) 'completefunc' 'cfu' string (default: empty)
local to buffer local to buffer
{not available when compiled without the |+eval|
or |+insert_expand| features}
This option specifies a function to be used for Insert mode completion This option specifies a function to be used for Insert mode completion
with CTRL-X CTRL-U. |i_CTRL-X_CTRL-U| with CTRL-X CTRL-U. |i_CTRL-X_CTRL-U|
See |complete-functions| for an explanation of how the function is See |complete-functions| for an explanation of how the function is
@@ -1433,8 +1404,6 @@ A jump table for the options with a short description can be found at |Q_op|.
*'completeopt'* *'cot'* *'completeopt'* *'cot'*
'completeopt' 'cot' string (default: "menu,preview") 'completeopt' 'cot' string (default: "menu,preview")
global global
{not available when compiled without the
|+insert_expand| feature}
A comma separated list of options for Insert mode completion A comma separated list of options for Insert mode completion
|ins-completion|. The supported values are: |ins-completion|. The supported values are:
@@ -1816,8 +1785,6 @@ A jump table for the options with a short description can be found at |Q_op|.
*'cursorcolumn'* *'cuc'* *'nocursorcolumn'* *'nocuc'* *'cursorcolumn'* *'cuc'* *'nocursorcolumn'* *'nocuc'*
'cursorcolumn' 'cuc' boolean (default off) 'cursorcolumn' 'cuc' boolean (default off)
local to window local to window
{not available when compiled without the |+syntax|
feature}
Highlight the screen column of the cursor with CursorColumn Highlight the screen column of the cursor with CursorColumn
|hl-CursorColumn|. Useful to align text. Will make screen redrawing |hl-CursorColumn|. Useful to align text. Will make screen redrawing
slower. slower.
@@ -1830,8 +1797,6 @@ A jump table for the options with a short description can be found at |Q_op|.
*'cursorline'* *'cul'* *'nocursorline'* *'nocul'* *'cursorline'* *'cul'* *'nocursorline'* *'nocul'*
'cursorline' 'cul' boolean (default off) 'cursorline' 'cul' boolean (default off)
local to window local to window
{not available when compiled without the |+syntax|
feature}
Highlight the screen line of the cursor with CursorLine Highlight the screen line of the cursor with CursorLine
|hl-CursorLine|. Useful to easily spot the cursor. Will make screen |hl-CursorLine|. Useful to easily spot the cursor. Will make screen
redrawing slower. redrawing slower.
@@ -1871,8 +1836,6 @@ A jump table for the options with a short description can be found at |Q_op|.
*'delcombine'* *'deco'* *'nodelcombine'* *'nodeco'* *'delcombine'* *'deco'* *'nodelcombine'* *'nodeco'*
'delcombine' 'deco' boolean (default off) 'delcombine' 'deco' boolean (default off)
global global
{only available when compiled with the |+multi_byte|
feature}
If editing Unicode and this option is set, backspace and Normal mode If editing Unicode and this option is set, backspace and Normal mode
"x" delete each combining character on its own. When it is off (the "x" delete each combining character on its own. When it is off (the
default) the character along with its combining characters are default) the character along with its combining characters are
@@ -1969,8 +1932,6 @@ A jump table for the options with a short description can be found at |Q_op|.
*'digraph'* *'dg'* *'nodigraph'* *'nodg'* *'digraph'* *'dg'* *'nodigraph'* *'nodg'*
'digraph' 'dg' boolean (default off) 'digraph' 'dg' boolean (default off)
global global
{not available when compiled without the |+digraphs|
feature}
Enable the entering of digraphs in Insert mode with {char1} <BS> Enable the entering of digraphs in Insert mode with {char1} <BS>
{char2}. See |digraphs|. {char2}. See |digraphs|.
@@ -2052,9 +2013,6 @@ A jump table for the options with a short description can be found at |Q_op|.
*'emoji'* *'emo'* *'emoji'* *'emo'*
'emoji' 'emo' boolean (default: on) 'emoji' 'emo' boolean (default: on)
global global
{not in Vi}
{only available when compiled with the |+multi_byte|
feature}
When on all Unicode emoji characters are considered to be full width. When on all Unicode emoji characters are considered to be full width.
@@ -2122,8 +2080,6 @@ A jump table for the options with a short description can be found at |Q_op|.
*'errorfile'* *'ef'* *'errorfile'* *'ef'*
'errorfile' 'ef' string (default: "errors.err") 'errorfile' 'ef' string (default: "errors.err")
global global
{not available when compiled without the |+quickfix|
feature}
Name of the errorfile for the QuickFix mode (see |:cf|). Name of the errorfile for the QuickFix mode (see |:cf|).
When the "-q" command-line argument is used, 'errorfile' is set to the When the "-q" command-line argument is used, 'errorfile' is set to the
following argument. See |-q|. following argument. See |-q|.
@@ -2136,8 +2092,6 @@ A jump table for the options with a short description can be found at |Q_op|.
*'errorformat'* *'efm'* *'errorformat'* *'efm'*
'errorformat' 'efm' string (default is very long) 'errorformat' 'efm' string (default is very long)
global or local to buffer |global-local| global or local to buffer |global-local|
{not available when compiled without the |+quickfix|
feature}
Scanf-like description of the format for the lines in the error file Scanf-like description of the format for the lines in the error file
(see |errorformat|). (see |errorformat|).
@@ -2220,8 +2174,6 @@ A jump table for the options with a short description can be found at |Q_op|.
*'fileencodings'* *'fencs'* *'fileencodings'* *'fencs'*
'fileencodings' 'fencs' string (default: "ucs-bom,utf-8,default,latin1") 'fileencodings' 'fencs' string (default: "ucs-bom,utf-8,default,latin1")
global global
{only available when compiled with the |+multi_byte|
feature}
This is a list of character encodings considered when starting to edit This is a list of character encodings considered when starting to edit
an existing file. When a file is read, Vim tries to use the first an existing file. When a file is read, Vim tries to use the first
mentioned character encoding. If an error is detected, the next one mentioned character encoding. If an error is detected, the next one
@@ -2378,8 +2330,6 @@ A jump table for the options with a short description can be found at |Q_op|.
*'fillchars'* *'fcs'* *'fillchars'* *'fcs'*
'fillchars' 'fcs' string (default "") 'fillchars' 'fcs' string (default "")
global global
{not available when compiled without the |+windows|
and |+folding| features}
Characters to fill the statuslines and vertical separators. Characters to fill the statuslines and vertical separators.
It is a comma separated list of items: It is a comma separated list of items:
@@ -2418,7 +2368,6 @@ A jump table for the options with a short description can be found at |Q_op|.
*'fixendofline'* *'fixeol'* *'nofixendofline'* *'nofixeol'* *'fixendofline'* *'fixeol'* *'nofixendofline'* *'nofixeol'*
'fixendofline' 'fixeol' boolean (default on) 'fixendofline' 'fixeol' boolean (default on)
local to buffer local to buffer
{not in Vi}
When writing a file and this option is on, <EOL> at the end of file When writing a file and this option is on, <EOL> at the end of file
will be restored if missing. Turn this option off if you want to will be restored if missing. Turn this option off if you want to
preserve the situation from the original file. preserve the situation from the original file.
@@ -2436,8 +2385,6 @@ A jump table for the options with a short description can be found at |Q_op|.
*'foldclose'* *'fcl'* *'foldclose'* *'fcl'*
'foldclose' 'fcl' string (default "") 'foldclose' 'fcl' string (default "")
global global
{not available when compiled without the |+folding|
feature}
When set to "all", a fold is closed when the cursor isn't in it and When set to "all", a fold is closed when the cursor isn't in it and
its level is higher than 'foldlevel'. Useful if you want folds to its level is higher than 'foldlevel'. Useful if you want folds to
automatically close when moving out of them. automatically close when moving out of them.
@@ -2445,8 +2392,6 @@ A jump table for the options with a short description can be found at |Q_op|.
*'foldcolumn'* *'fdc'* *'foldcolumn'* *'fdc'*
'foldcolumn' 'fdc' number (default 0) 'foldcolumn' 'fdc' number (default 0)
local to window local to window
{not available when compiled without the |+folding|
feature}
When non-zero, a column with the specified width is shown at the side When non-zero, a column with the specified width is shown at the side
of the window which indicates open and closed folds. The maximum of the window which indicates open and closed folds. The maximum
value is 12. value is 12.
@@ -2455,8 +2400,6 @@ A jump table for the options with a short description can be found at |Q_op|.
*'foldenable'* *'fen'* *'nofoldenable'* *'nofen'* *'foldenable'* *'fen'* *'nofoldenable'* *'nofen'*
'foldenable' 'fen' boolean (default on) 'foldenable' 'fen' boolean (default on)
local to window local to window
{not available when compiled without the |+folding|
feature}
When off, all folds are open. This option can be used to quickly When off, all folds are open. This option can be used to quickly
switch between showing all text unfolded and viewing the text with switch between showing all text unfolded and viewing the text with
folds (including manually opened or closed folds). It can be toggled folds (including manually opened or closed folds). It can be toggled
@@ -2468,8 +2411,6 @@ A jump table for the options with a short description can be found at |Q_op|.
*'foldexpr'* *'fde'* *'foldexpr'* *'fde'*
'foldexpr' 'fde' string (default: "0") 'foldexpr' 'fde' string (default: "0")
local to window local to window
{not available when compiled without the |+folding|
or |+eval| features}
The expression used for when 'foldmethod' is "expr". It is evaluated The expression used for when 'foldmethod' is "expr". It is evaluated
for each line to obtain its fold level. See |fold-expr|. for each line to obtain its fold level. See |fold-expr|.
@@ -2484,8 +2425,6 @@ A jump table for the options with a short description can be found at |Q_op|.
*'foldignore'* *'fdi'* *'foldignore'* *'fdi'*
'foldignore' 'fdi' string (default: "#") 'foldignore' 'fdi' string (default: "#")
local to window local to window
{not available when compiled without the |+folding|
feature}
Used only when 'foldmethod' is "indent". Lines starting with Used only when 'foldmethod' is "indent". Lines starting with
characters in 'foldignore' will get their fold level from surrounding characters in 'foldignore' will get their fold level from surrounding
lines. White space is skipped before checking for this character. lines. White space is skipped before checking for this character.
@@ -2494,8 +2433,6 @@ A jump table for the options with a short description can be found at |Q_op|.
*'foldlevel'* *'fdl'* *'foldlevel'* *'fdl'*
'foldlevel' 'fdl' number (default: 0) 'foldlevel' 'fdl' number (default: 0)
local to window local to window
{not available when compiled without the |+folding|
feature}
Sets the fold level: Folds with a higher level will be closed. Sets the fold level: Folds with a higher level will be closed.
Setting this option to zero will close all folds. Higher numbers will Setting this option to zero will close all folds. Higher numbers will
close fewer folds. close fewer folds.
@@ -2505,8 +2442,6 @@ A jump table for the options with a short description can be found at |Q_op|.
*'foldlevelstart'* *'fdls'* *'foldlevelstart'* *'fdls'*
'foldlevelstart' 'fdls' number (default: -1) 'foldlevelstart' 'fdls' number (default: -1)
global global
{not available when compiled without the |+folding|
feature}
Sets 'foldlevel' when starting to edit another buffer in a window. Sets 'foldlevel' when starting to edit another buffer in a window.
Useful to always start editing with all folds closed (value zero), Useful to always start editing with all folds closed (value zero),
some folds closed (one) or no folds closed (99). some folds closed (one) or no folds closed (99).
@@ -2520,8 +2455,6 @@ A jump table for the options with a short description can be found at |Q_op|.
*'foldmarker'* *'fmr'* *E536* *'foldmarker'* *'fmr'* *E536*
'foldmarker' 'fmr' string (default: "{{{,}}}") 'foldmarker' 'fmr' string (default: "{{{,}}}")
local to window local to window
{not available when compiled without the |+folding|
feature}
The start and end marker used when 'foldmethod' is "marker". There The start and end marker used when 'foldmethod' is "marker". There
must be one comma, which separates the start and end marker. The must be one comma, which separates the start and end marker. The
marker is a literal string (a regular expression would be too slow). marker is a literal string (a regular expression would be too slow).
@@ -2530,8 +2463,6 @@ A jump table for the options with a short description can be found at |Q_op|.
*'foldmethod'* *'fdm'* *'foldmethod'* *'fdm'*
'foldmethod' 'fdm' string (default: "manual") 'foldmethod' 'fdm' string (default: "manual")
local to window local to window
{not available when compiled without the |+folding|
feature}
The kind of folding used for the current window. Possible values: The kind of folding used for the current window. Possible values:
|fold-manual| manual Folds are created manually. |fold-manual| manual Folds are created manually.
|fold-indent| indent Lines with equal indent form a fold. |fold-indent| indent Lines with equal indent form a fold.
@@ -2543,8 +2474,6 @@ A jump table for the options with a short description can be found at |Q_op|.
*'foldminlines'* *'fml'* *'foldminlines'* *'fml'*
'foldminlines' 'fml' number (default: 1) 'foldminlines' 'fml' number (default: 1)
local to window local to window
{not available when compiled without the |+folding|
feature}
Sets the number of screen lines above which a fold can be displayed Sets the number of screen lines above which a fold can be displayed
closed. Also for manually closed folds. With the default value of closed. Also for manually closed folds. With the default value of
one a fold can only be closed if it takes up two or more screen lines. one a fold can only be closed if it takes up two or more screen lines.
@@ -2556,8 +2485,6 @@ A jump table for the options with a short description can be found at |Q_op|.
*'foldnestmax'* *'fdn'* *'foldnestmax'* *'fdn'*
'foldnestmax' 'fdn' number (default: 20) 'foldnestmax' 'fdn' number (default: 20)
local to window local to window
{not available when compiled without the |+folding|
feature}
Sets the maximum nesting of folds for the "indent" and "syntax" Sets the maximum nesting of folds for the "indent" and "syntax"
methods. This avoids that too many folds will be created. Using more methods. This avoids that too many folds will be created. Using more
than 20 doesn't work, because the internal limit is 20. than 20 doesn't work, because the internal limit is 20.
@@ -2566,8 +2493,6 @@ A jump table for the options with a short description can be found at |Q_op|.
'foldopen' 'fdo' string (default: "block,hor,mark,percent,quickfix, 'foldopen' 'fdo' string (default: "block,hor,mark,percent,quickfix,
search,tag,undo") search,tag,undo")
global global
{not available when compiled without the |+folding|
feature}
Specifies for which type of commands folds will be opened, if the Specifies for which type of commands folds will be opened, if the
command moves the cursor into a closed fold. It is a comma separated command moves the cursor into a closed fold. It is a comma separated
list of items. list of items.
@@ -2602,8 +2527,6 @@ A jump table for the options with a short description can be found at |Q_op|.
*'foldtext'* *'fdt'* *'foldtext'* *'fdt'*
'foldtext' 'fdt' string (default: "foldtext()") 'foldtext' 'fdt' string (default: "foldtext()")
local to window local to window
{not available when compiled without the |+folding|
feature}
An expression which is used to specify the text displayed for a closed An expression which is used to specify the text displayed for a closed
fold. See |fold-foldtext|. fold. See |fold-foldtext|.
@@ -2616,8 +2539,6 @@ A jump table for the options with a short description can be found at |Q_op|.
*'formatexpr'* *'fex'* *'formatexpr'* *'fex'*
'formatexpr' 'fex' string (default "") 'formatexpr' 'fex' string (default "")
local to buffer local to buffer
{not available when compiled without the |+eval|
feature}
Expression which is evaluated to format a range of lines for the |gq| Expression which is evaluated to format a range of lines for the |gq|
operator or automatic formatting (see 'formatoptions'). When this operator or automatic formatting (see 'formatoptions'). When this
option is empty 'formatprg' is used. option is empty 'formatprg' is used.
@@ -2829,7 +2750,6 @@ A jump table for the options with a short description can be found at |Q_op|.
*E235* *E596* *E235* *E596*
'guifont' 'gfn' string (default "") 'guifont' 'gfn' string (default "")
global global
{only available when compiled with GUI enabled}
This is a list of fonts which will be used for the GUI version of Vim. This is a list of fonts which will be used for the GUI version of Vim.
In its simplest form the value is just one font name. When In its simplest form the value is just one font name. When
the font cannot be found you will get an error message. To try other the font cannot be found you will get an error message. To try other
@@ -2896,8 +2816,6 @@ A jump table for the options with a short description can be found at |Q_op|.
*E250* *E252* *E234* *E597* *E598* *E250* *E252* *E234* *E597* *E598*
'guifontset' 'gfs' string (default "") 'guifontset' 'gfs' string (default "")
global global
{only available when compiled with GUI enabled and
with the |+xfontset| feature}
When not empty, specifies two (or more) fonts to be used. The first When not empty, specifies two (or more) fonts to be used. The first
one for normal English, the second one for your special language. See one for normal English, the second one for your special language. See
|xfontset|. |xfontset|.
@@ -2918,7 +2836,6 @@ A jump table for the options with a short description can be found at |Q_op|.
*'guifontwide'* *'gfw'* *E231* *E533* *E534* *'guifontwide'* *'gfw'* *E231* *E533* *E534*
'guifontwide' 'gfw' string (default "") 'guifontwide' 'gfw' string (default "")
global global
{only available when compiled with GUI enabled}
When not empty, specifies a comma-separated list of fonts to be used When not empty, specifies a comma-separated list of fonts to be used
for double-width characters. The first font that can be loaded is for double-width characters. The first font that can be loaded is
used. used.
@@ -2937,7 +2854,6 @@ A jump table for the options with a short description can be found at |Q_op|.
*'guioptions'* *'go'* *'guioptions'* *'go'*
'guioptions' 'go' string (default "egmrLT" (MS-Windows)) 'guioptions' 'go' string (default "egmrLT" (MS-Windows))
global global
{only available when compiled with GUI enabled}
This option only has an effect in the GUI version of Vim. It is a This option only has an effect in the GUI version of Vim. It is a
sequence of letters which describes what components and options of the sequence of letters which describes what components and options of the
GUI should be used. GUI should be used.
@@ -3033,8 +2949,6 @@ A jump table for the options with a short description can be found at |Q_op|.
*'guitablabel'* *'gtl'* *'guitablabel'* *'gtl'*
'guitablabel' 'gtl' string (default empty) 'guitablabel' 'gtl' string (default empty)
global global
{only available when compiled with GUI enabled and
with the |+windows| feature}
When nonempty describes the text to use in a label of the GUI tab When nonempty describes the text to use in a label of the GUI tab
pages line. When empty and when the result is empty Vim will use a pages line. When empty and when the result is empty Vim will use a
default label. See |setting-guitablabel| for more info. default label. See |setting-guitablabel| for more info.
@@ -3051,8 +2965,6 @@ A jump table for the options with a short description can be found at |Q_op|.
*'guitabtooltip'* *'gtt'* *'guitabtooltip'* *'gtt'*
'guitabtooltip' 'gtt' string (default empty) 'guitabtooltip' 'gtt' string (default empty)
global global
{only available when compiled with GUI enabled and
with the |+windows| feature}
When nonempty describes the text to use in a tooltip for the GUI tab When nonempty describes the text to use in a tooltip for the GUI tab
pages line. When empty Vim will use a default tooltip. pages line. When empty Vim will use a default tooltip.
This option is otherwise just like 'guitablabel' above. This option is otherwise just like 'guitablabel' above.
@@ -3077,8 +2989,6 @@ A jump table for the options with a short description can be found at |Q_op|.
*'helpheight'* *'hh'* *'helpheight'* *'hh'*
'helpheight' 'hh' number (default 20) 'helpheight' 'hh' number (default 20)
global global
{not available when compiled without the |+windows|
feature}
Minimal initial height of the help window when it is opened with the Minimal initial height of the help window when it is opened with the
":help" command. The initial height of the help window is half of the ":help" command. The initial height of the help window is half of the
current window, or (when the 'ea' option is on) the same as other current window, or (when the 'ea' option is on) the same as other
@@ -3088,8 +2998,6 @@ A jump table for the options with a short description can be found at |Q_op|.
*'helplang'* *'hlg'* *'helplang'* *'hlg'*
'helplang' 'hlg' string (default: messages language or empty) 'helplang' 'hlg' string (default: messages language or empty)
global global
{only available when compiled with the |+multi_lang|
feature}
Comma separated list of languages. Vim will use the first language Comma separated list of languages. Vim will use the first language
for which the desired help can be found. The English help will always for which the desired help can be found. The English help will always
be used as a last resort. You can add "en" to prefer English over be used as a last resort. You can add "en" to prefer English over
@@ -3143,8 +3051,6 @@ A jump table for the options with a short description can be found at |Q_op|.
*'hlsearch'* *'hls'* *'nohlsearch'* *'nohls'* *'hlsearch'* *'hls'* *'nohlsearch'* *'nohls'*
'hlsearch' 'hls' boolean (default on) 'hlsearch' 'hls' boolean (default on)
global global
{not available when compiled without the
|+extra_search| feature}
When there is a previous search pattern, highlight all its matches. When there is a previous search pattern, highlight all its matches.
The |hl-Search| highlight group determines the highlighting. Note that The |hl-Search| highlight group determines the highlighting. Note that
only the matching text is highlighted, any offsets are not applied. only the matching text is highlighted, any offsets are not applied.
@@ -3164,8 +3070,6 @@ A jump table for the options with a short description can be found at |Q_op|.
*'icon'* *'noicon'* *'icon'* *'noicon'*
'icon' boolean (default off, on when title can be restored) 'icon' boolean (default off, on when title can be restored)
global global
{not available when compiled without the |+title|
feature}
When on, the icon text of the window will be set to the value of When on, the icon text of the window will be set to the value of
'iconstring' (if it is not empty), or to the name of the file 'iconstring' (if it is not empty), or to the name of the file
currently being edited. Only the last part of the name is used. currently being edited. Only the last part of the name is used.
@@ -3175,15 +3079,12 @@ A jump table for the options with a short description can be found at |Q_op|.
*'iconstring'* *'iconstring'*
'iconstring' string (default "") 'iconstring' string (default "")
global global
{not available when compiled without the |+title|
feature}
When this option is not empty, it will be used for the icon text of When this option is not empty, it will be used for the icon text of
the window. This happens only when the 'icon' option is on. the window. This happens only when the 'icon' option is on.
Only works if the terminal supports setting window icon text Only works if the terminal supports setting window icon text
When this option contains printf-style '%' items, they will be When this option contains printf-style '%' items, they will be
expanded according to the rules used for 'statusline'. See expanded according to the rules used for 'statusline'. See
'titlestring' for example settings. 'titlestring' for example settings.
{not available when compiled without the |+statusline| feature}
*'ignorecase'* *'ic'* *'noignorecase'* *'noic'* *'ignorecase'* *'ic'* *'noignorecase'* *'noic'*
'ignorecase' 'ic' boolean (default off) 'ignorecase' 'ic' boolean (default off)
@@ -3197,8 +3098,6 @@ A jump table for the options with a short description can be found at |Q_op|.
*'imcmdline'* *'imc'* *'noimcmdline'* *'noimc'* *'imcmdline'* *'imc'* *'noimcmdline'* *'noimc'*
'imcmdline' 'imc' boolean (default off) 'imcmdline' 'imc' boolean (default off)
global global
{only available when compiled with the |+xim|,
|+multi_byte_ime| or |global-ime| features}
When set the Input Method is always on when starting to edit a command When set the Input Method is always on when starting to edit a command
line, unless entering a search pattern (see 'imsearch' for that). line, unless entering a search pattern (see 'imsearch' for that).
Setting this option is useful when your input method allows entering Setting this option is useful when your input method allows entering
@@ -3208,8 +3107,6 @@ A jump table for the options with a short description can be found at |Q_op|.
*'imdisable'* *'imd'* *'noimdisable'* *'noimd'* *'imdisable'* *'imd'* *'noimdisable'* *'noimd'*
'imdisable' 'imd' boolean (default off, on for some systems (SGI)) 'imdisable' 'imd' boolean (default off, on for some systems (SGI))
global global
{only available when compiled with the |+xim|,
|+multi_byte_ime| or |global-ime| features}
When set the Input Method is never used. This is useful to disable When set the Input Method is never used. This is useful to disable
the IM when it doesn't work properly. the IM when it doesn't work properly.
Currently this option is on by default for SGI/IRIX machines. This Currently this option is on by default for SGI/IRIX machines. This
@@ -3265,8 +3162,6 @@ A jump table for the options with a short description can be found at |Q_op|.
*'include'* *'inc'* *'include'* *'inc'*
'include' 'inc' string (default "^\s*#\s*include") 'include' 'inc' string (default "^\s*#\s*include")
global or local to buffer |global-local| global or local to buffer |global-local|
{not available when compiled without the
|+find_in_path| feature}
Pattern to be used to find an include command. It is a search Pattern to be used to find an include command. It is a search
pattern, just like for the "/" command (See |pattern|). The default pattern, just like for the "/" command (See |pattern|). The default
value is for C programs. This option is used for the commands "[i", value is for C programs. This option is used for the commands "[i",
@@ -3282,8 +3177,6 @@ A jump table for the options with a short description can be found at |Q_op|.
*'includeexpr'* *'inex'* *'includeexpr'* *'inex'*
'includeexpr' 'inex' string (default "") 'includeexpr' 'inex' string (default "")
local to buffer local to buffer
{not available when compiled without the
|+find_in_path| or |+eval| features}
Expression to be used to transform the string found with the 'include' Expression to be used to transform the string found with the 'include'
option to a file name. Mostly useful to change "." to "/" for Java: > option to a file name. Mostly useful to change "." to "/" for Java: >
:set includeexpr=substitute(v:fname,'\\.','/','g') :set includeexpr=substitute(v:fname,'\\.','/','g')
@@ -3533,8 +3426,6 @@ A jump table for the options with a short description can be found at |Q_op|.
*'keymap'* *'kmp'* *E544* *'keymap'* *'kmp'* *E544*
'keymap' 'kmp' string (default "") 'keymap' 'kmp' string (default "")
local to buffer local to buffer
{only available when compiled with the |+keymap|
feature}
Name of a keyboard mapping. See |mbyte-keymap|. Name of a keyboard mapping. See |mbyte-keymap|.
Setting this option to a valid keymap name has the side effect of Setting this option to a valid keymap name has the side effect of
setting 'iminsert' to one, so that the keymap becomes effective. setting 'iminsert' to one, so that the keymap becomes effective.
@@ -3575,8 +3466,6 @@ A jump table for the options with a short description can be found at |Q_op|.
*'langmap'* *'lmap'* *E357* *E358* *'langmap'* *'lmap'* *E357* *E358*
'langmap' 'lmap' string (default "") 'langmap' 'lmap' string (default "")
global global
{only available when compiled with the |+langmap|
feature}
This option allows switching your keyboard into a special language This option allows switching your keyboard into a special language
mode. When you are typing text in Insert mode the characters are mode. When you are typing text in Insert mode the characters are
inserted directly. When in Normal mode the 'langmap' option takes inserted directly. When in Normal mode the 'langmap' option takes
@@ -3620,8 +3509,6 @@ A jump table for the options with a short description can be found at |Q_op|.
*'langmenu'* *'lm'* *'langmenu'* *'lm'*
'langmenu' 'lm' string (default "") 'langmenu' 'lm' string (default "")
global global
{only available when compiled with the |+menu| and
|+multi_lang| features}
Language to use for menu translation. Tells which file is loaded Language to use for menu translation. Tells which file is loaded
from the "lang" directory in 'runtimepath': > from the "lang" directory in 'runtimepath': >
"lang/menu_" . &langmenu . ".vim" "lang/menu_" . &langmenu . ".vim"
@@ -3670,8 +3557,6 @@ A jump table for the options with a short description can be found at |Q_op|.
*'linebreak'* *'lbr'* *'nolinebreak'* *'nolbr'* *'linebreak'* *'lbr'* *'nolinebreak'* *'nolbr'*
'linebreak' 'lbr' boolean (default off) 'linebreak' 'lbr' boolean (default off)
local to window local to window
{not available when compiled without the |+linebreak|
feature}
If on, Vim will wrap long lines at a character in 'breakat' rather If on, Vim will wrap long lines at a character in 'breakat' rather
than at the last character that fits on the screen. Unlike than at the last character that fits on the screen. Unlike
'wrapmargin' and 'textwidth', this does not insert <EOL>s in the file, 'wrapmargin' and 'textwidth', this does not insert <EOL>s in the file,
@@ -3711,8 +3596,6 @@ A jump table for the options with a short description can be found at |Q_op|.
*'lisp'* *'nolisp'* *'lisp'* *'nolisp'*
'lisp' boolean (default off) 'lisp' boolean (default off)
local to buffer local to buffer
{not available when compiled without the |+lispindent|
feature}
Lisp mode: When <Enter> is typed in insert mode set the indent for Lisp mode: When <Enter> is typed in insert mode set the indent for
the next line to Lisp standards (well, sort of). Also happens with the next line to Lisp standards (well, sort of). Also happens with
"cc" or "S". 'autoindent' must also be on for this to work. The 'p' "cc" or "S". 'autoindent' must also be on for this to work. The 'p'
@@ -3726,8 +3609,6 @@ A jump table for the options with a short description can be found at |Q_op|.
*'lispwords'* *'lw'* *'lispwords'* *'lw'*
'lispwords' 'lw' string (default is very long) 'lispwords' 'lw' string (default is very long)
global or local to buffer |global-local| global or local to buffer |global-local|
{not available when compiled without the |+lispindent|
feature}
Comma separated list of words that influence the Lisp indenting. Comma separated list of words that influence the Lisp indenting.
|'lisp'| |'lisp'|
@@ -3820,8 +3701,6 @@ A jump table for the options with a short description can be found at |Q_op|.
*'makeef'* *'mef'* *'makeef'* *'mef'*
'makeef' 'mef' string (default: "") 'makeef' 'mef' string (default: "")
global global
{not available when compiled without the |+quickfix|
feature}
Name of the errorfile for the |:make| command (see |:make_makeprg|) Name of the errorfile for the |:make| command (see |:make_makeprg|)
and the |:grep| command. and the |:grep| command.
When it is empty, an internally generated temp file will be used. When it is empty, an internally generated temp file will be used.
@@ -3837,9 +3716,6 @@ A jump table for the options with a short description can be found at |Q_op|.
*'makeencoding'* *'menc'* *'makeencoding'* *'menc'*
'makeencoding' 'menc' string (default "") 'makeencoding' 'menc' string (default "")
global or local to buffer |global-local| global or local to buffer |global-local|
{only available when compiled with the |+multi_byte|
feature}
{not in Vi}
Encoding used for reading the output of external commands. When empty, Encoding used for reading the output of external commands. When empty,
encoding is not converted. encoding is not converted.
This is used for `:make`, `:lmake`, `:grep`, `:lgrep`, `:grepadd`, This is used for `:make`, `:lmake`, `:grep`, `:lgrep`, `:grepadd`,
@@ -3905,8 +3781,6 @@ A jump table for the options with a short description can be found at |Q_op|.
*'maxfuncdepth'* *'mfd'* *'maxfuncdepth'* *'mfd'*
'maxfuncdepth' 'mfd' number (default 100) 'maxfuncdepth' 'mfd' number (default 100)
global global
{not available when compiled without the |+eval|
feature}
Maximum depth of function calls for user functions. This normally Maximum depth of function calls for user functions. This normally
catches endless recursion. When using a recursive function with catches endless recursion. When using a recursive function with
more depth, set 'maxfuncdepth' to a bigger number. But this will use more depth, set 'maxfuncdepth' to a bigger number. But this will use
@@ -3940,8 +3814,6 @@ A jump table for the options with a short description can be found at |Q_op|.
*'menuitems'* *'mis'* *'menuitems'* *'mis'*
'menuitems' 'mis' number (default 25) 'menuitems' 'mis' number (default 25)
global global
{not available when compiled without the |+menu|
feature}
Maximum number of items to use in a menu. Used for menus that are Maximum number of items to use in a menu. Used for menus that are
generated from a list of items, e.g., the Buffers menu. Changing this generated from a list of items, e.g., the Buffers menu. Changing this
option has no direct effect, the menu must be refreshed first. option has no direct effect, the menu must be refreshed first.
@@ -3949,8 +3821,6 @@ A jump table for the options with a short description can be found at |Q_op|.
*'mkspellmem'* *'msm'* *'mkspellmem'* *'msm'*
'mkspellmem' 'msm' string (default "460000,2000,500") 'mkspellmem' 'msm' string (default "460000,2000,500")
global global
{not available when compiled without the |+syntax|
feature}
Parameters for |:mkspell|. This tunes when to start compressing the Parameters for |:mkspell|. This tunes when to start compressing the
word tree. Compression can be slow when there are many words, but word tree. Compression can be slow when there are many words, but
it's needed to avoid running out of memory. The amount of memory used it's needed to avoid running out of memory. The amount of memory used
@@ -4024,6 +3894,8 @@ A jump table for the options with a short description can be found at |Q_op|.
an explanation. an explanation.
When 'buftype' is "nowrite" or "nofile" this option may be set, but When 'buftype' is "nowrite" or "nofile" this option may be set, but
will be ignored. will be ignored.
Note that the text may actually be the same, e.g. 'modified' is set
when using "rA" on an "A".
*'more'* *'nomore'* *'more'* *'nomore'*
'more' boolean (Vim default: on, Vi default: off) 'more' boolean (Vim default: on, Vi default: off)
@@ -4133,6 +4005,8 @@ A jump table for the options with a short description can be found at |Q_op|.
In the "popup" model the right mouse button produces a pop-up menu. In the "popup" model the right mouse button produces a pop-up menu.
You need to define this first, see |popup-menu|. You need to define this first, see |popup-menu|.
In a terminal the popup menu works if Vim is compiled with the
|+insert_expand| option.
Note that you can further refine the meaning of buttons with mappings. Note that you can further refine the meaning of buttons with mappings.
See |mouse-overview|. But mappings are NOT used for modeless selection. See |mouse-overview|. But mappings are NOT used for modeless selection.
@@ -4162,8 +4036,6 @@ A jump table for the options with a short description can be found at |Q_op|.
'mouseshape' 'mouses' string (default "i:beam,r:beam,s:updown,sd:cross, 'mouseshape' 'mouses' string (default "i:beam,r:beam,s:updown,sd:cross,
m:no,ml:up-arrow,v:rightup-arrow") m:no,ml:up-arrow,v:rightup-arrow")
global global
{only available when compiled with the |+mouseshape|
feature}
This option tells Vim what the mouse pointer should look like in This option tells Vim what the mouse pointer should look like in
different modes. The option is a comma separated list of parts, much different modes. The option is a comma separated list of parts, much
like used for 'guicursor'. Each part consist of a mode/location-list like used for 'guicursor'. Each part consist of a mode/location-list
@@ -4277,8 +4149,6 @@ A jump table for the options with a short description can be found at |Q_op|.
*'numberwidth'* *'nuw'* *'numberwidth'* *'nuw'*
'numberwidth' 'nuw' number (Vim default: 4 Vi default: 8) 'numberwidth' 'nuw' number (Vim default: 4 Vi default: 8)
local to window local to window
{only available when compiled with the |+linebreak|
feature}
Minimal number of columns to use for the line number. Only relevant Minimal number of columns to use for the line number. Only relevant
when the 'number' or 'relativenumber' option is set or printing lines when the 'number' or 'relativenumber' option is set or printing lines
with a line number. Since one space is always between the number and with a line number. Since one space is always between the number and
@@ -4293,8 +4163,6 @@ A jump table for the options with a short description can be found at |Q_op|.
*'omnifunc'* *'ofu'* *'omnifunc'* *'ofu'*
'omnifunc' 'ofu' string (default: empty) 'omnifunc' 'ofu' string (default: empty)
local to buffer local to buffer
{not available when compiled without the |+eval|
or |+insert_expand| features}
This option specifies a function to be used for Insert mode omni This option specifies a function to be used for Insert mode omni
completion with CTRL-X CTRL-O. |i_CTRL-X_CTRL-O| completion with CTRL-X CTRL-O. |i_CTRL-X_CTRL-O|
See |complete-functions| for an explanation of how the function is See |complete-functions| for an explanation of how the function is
@@ -4327,7 +4195,6 @@ A jump table for the options with a short description can be found at |Q_op|.
*'packpath'* *'pp'* *'packpath'* *'pp'*
'packpath' 'pp' string (default: see 'runtimepath') 'packpath' 'pp' string (default: see 'runtimepath')
{not in Vi}
Directories used to find packages. See |packages|. Directories used to find packages. See |packages|.
@@ -4462,7 +4329,6 @@ A jump table for the options with a short description can be found at |Q_op|.
"http://www.vim.org" will make ":find index.html" work. "http://www.vim.org" will make ":find index.html" work.
- Search upwards and downwards in a directory tree using "*", "**" and - Search upwards and downwards in a directory tree using "*", "**" and
";". See |file-searching| for info and syntax. ";". See |file-searching| for info and syntax.
{not available when compiled without the |+path_extra| feature}
- Careful with '\' characters, type two to get one in the option: > - Careful with '\' characters, type two to get one in the option: >
:set path=.,c:\\include :set path=.,c:\\include
< Or just use '/' instead: > < Or just use '/' instead: >
@@ -4505,8 +4371,6 @@ A jump table for the options with a short description can be found at |Q_op|.
*'previewheight'* *'pvh'* *'previewheight'* *'pvh'*
'previewheight' 'pvh' number (default 12) 'previewheight' 'pvh' number (default 12)
global global
{not available when compiled without the |+windows| or
|+quickfix| features}
Default height for a preview window. Used for |:ptag| and associated Default height for a preview window. Used for |:ptag| and associated
commands. Used for |CTRL-W_}| when no count is given. commands. Used for |CTRL-W_}| when no count is given.
@@ -4514,8 +4378,6 @@ A jump table for the options with a short description can be found at |Q_op|.
*'pvw'* *'nopvw'* *E590* *'pvw'* *'nopvw'* *E590*
'previewwindow' 'pvw' boolean (default off) 'previewwindow' 'pvw' boolean (default off)
local to window local to window
{not available when compiled without the |+windows| or
|+quickfix| features}
Identifies the preview window. Only one window can have this option Identifies the preview window. Only one window can have this option
set. It's normally not set directly, but by using one of the commands set. It's normally not set directly, but by using one of the commands
|:ptag|, |:pedit|, etc. |:ptag|, |:pedit|, etc.
@@ -4523,8 +4385,6 @@ A jump table for the options with a short description can be found at |Q_op|.
*'printdevice'* *'pdev'* *'printdevice'* *'pdev'*
'printdevice' 'pdev' string (default empty) 'printdevice' 'pdev' string (default empty)
global global
{only available when compiled with the |+printer|
feature}
The name of the printer to be used for |:hardcopy|. The name of the printer to be used for |:hardcopy|.
See |pdev-option|. See |pdev-option|.
This option cannot be set from a |modeline| or in the |sandbox|, for This option cannot be set from a |modeline| or in the |sandbox|, for
@@ -4533,16 +4393,12 @@ A jump table for the options with a short description can be found at |Q_op|.
*'printencoding'* *'penc'* *'printencoding'* *'penc'*
'printencoding' 'penc' String (default empty, except for some systems) 'printencoding' 'penc' String (default empty, except for some systems)
global global
{only available when compiled with the |+printer|
and |+postscript| features}
Sets the character encoding used when printing. Sets the character encoding used when printing.
See |penc-option|. See |penc-option|.
*'printexpr'* *'pexpr'* *'printexpr'* *'pexpr'*
'printexpr' 'pexpr' String (default: see below) 'printexpr' 'pexpr' String (default: see below)
global global
{only available when compiled with the |+printer|
and |+postscript| features}
Expression used to print the PostScript produced with |:hardcopy|. Expression used to print the PostScript produced with |:hardcopy|.
See |pexpr-option|. See |pexpr-option|.
This option cannot be set from a |modeline| or in the |sandbox|, for This option cannot be set from a |modeline| or in the |sandbox|, for
@@ -4551,39 +4407,30 @@ A jump table for the options with a short description can be found at |Q_op|.
*'printfont'* *'pfn'* *'printfont'* *'pfn'*
'printfont' 'pfn' string (default "courier") 'printfont' 'pfn' string (default "courier")
global global
{only available when compiled with the |+printer|
feature}
The name of the font that will be used for |:hardcopy|. The name of the font that will be used for |:hardcopy|.
See |pfn-option|. See |pfn-option|.
*'printheader'* *'pheader'* *'printheader'* *'pheader'*
'printheader' 'pheader' string (default "%<%f%h%m%=Page %N") 'printheader' 'pheader' string (default "%<%f%h%m%=Page %N")
global global
{only available when compiled with the |+printer|
feature}
The format of the header produced in |:hardcopy| output. The format of the header produced in |:hardcopy| output.
See |pheader-option|. See |pheader-option|.
*'printmbcharset'* *'pmbcs'* *'printmbcharset'* *'pmbcs'*
'printmbcharset' 'pmbcs' string (default "") 'printmbcharset' 'pmbcs' string (default "")
global global
{only available when compiled with the |+printer|,
|+postscript| and |+multi_byte| features}
The CJK character set to be used for CJK output from |:hardcopy|. The CJK character set to be used for CJK output from |:hardcopy|.
See |pmbcs-option|. See |pmbcs-option|.
*'printmbfont'* *'pmbfn'* *'printmbfont'* *'pmbfn'*
'printmbfont' 'pmbfn' string (default "") 'printmbfont' 'pmbfn' string (default "")
global global
{only available when compiled with the |+printer|,
|+postscript| and |+multi_byte| features}
List of font names to be used for CJK output from |:hardcopy|. List of font names to be used for CJK output from |:hardcopy|.
See |pmbfn-option|. See |pmbfn-option|.
*'printoptions'* *'popt'* *'printoptions'* *'popt'*
'printoptions' 'popt' string (default "") 'printoptions' 'popt' string (default "")
global global
{only available when compiled with |+printer| feature}
List of items that control the format of the output of |:hardcopy|. List of items that control the format of the output of |:hardcopy|.
See |popt-option|. See |popt-option|.
@@ -4595,8 +4442,6 @@ A jump table for the options with a short description can be found at |Q_op|.
*'pumheight'* *'ph'* *'pumheight'* *'ph'*
'pumheight' 'ph' number (default 0) 'pumheight' 'ph' number (default 0)
global global
{not available when compiled without the
|+insert_expand| feature}
Determines the maximum number of items to show in the popup menu for Determines the maximum number of items to show in the popup menu for
Insert mode completion. When zero as much space as available is used. Insert mode completion. When zero as much space as available is used.
|ins-completion-menu|. |ins-completion-menu|.
@@ -4626,8 +4471,6 @@ A jump table for the options with a short description can be found at |Q_op|.
*'redrawtime'* *'rdt'* *'redrawtime'* *'rdt'*
'redrawtime' 'rdt' number (default 2000) 'redrawtime' 'rdt' number (default 2000)
global global
{only available when compiled with the |+reltime|
feature}
Time in milliseconds for redrawing the display. Applies to Time in milliseconds for redrawing the display. Applies to
'hlsearch', 'inccommand' and |:match| highlighting. 'hlsearch', 'inccommand' and |:match| highlighting.
When redrawing takes more than this many milliseconds no further When redrawing takes more than this many milliseconds no further
@@ -4751,8 +4594,6 @@ A jump table for the options with a short description can be found at |Q_op|.
*'rulerformat'* *'ruf'* *'rulerformat'* *'ruf'*
'rulerformat' 'ruf' string (default empty) 'rulerformat' 'ruf' string (default empty)
global global
{not available when compiled without the |+statusline|
feature}
When this option is not empty, it determines the content of the ruler When this option is not empty, it determines the content of the ruler
string, as displayed for the 'ruler' option. string, as displayed for the 'ruler' option.
The format of this option is like that of 'statusline'. The format of this option is like that of 'statusline'.
@@ -4841,6 +4682,8 @@ A jump table for the options with a short description can be found at |Q_op|.
to find files which replace a distributed runtime files. You can put to find files which replace a distributed runtime files. You can put
a directory after $VIMRUNTIME to find files which add to distributed a directory after $VIMRUNTIME to find files which add to distributed
runtime files. runtime files.
When Vim is started with |--clean| the home directory entries are not
included.
This option cannot be set from a |modeline| or in the |sandbox|, for This option cannot be set from a |modeline| or in the |sandbox|, for
security reasons. security reasons.
@@ -4866,8 +4709,6 @@ A jump table for the options with a short description can be found at |Q_op|.
*'scrollbind'* *'scb'* *'noscrollbind'* *'noscb'* *'scrollbind'* *'scb'* *'noscrollbind'* *'noscb'*
'scrollbind' 'scb' boolean (default off) 'scrollbind' 'scb' boolean (default off)
local to window local to window
{not available when compiled without the |+scrollbind|
feature}
See also |scroll-binding|. When this option is set, the current See also |scroll-binding|. When this option is set, the current
window scrolls as other scrollbind windows (windows that also have window scrolls as other scrollbind windows (windows that also have
this option set) scroll. This option is useful for viewing the this option set) scroll. This option is useful for viewing the
@@ -4901,8 +4742,6 @@ A jump table for the options with a short description can be found at |Q_op|.
*'scrollopt'* *'sbo'* *'scrollopt'* *'sbo'*
'scrollopt' 'sbo' string (default "ver,jump") 'scrollopt' 'sbo' string (default "ver,jump")
global global
{not available when compiled without the |+scrollbind|
feature}
This is a comma-separated list of words that specifies how This is a comma-separated list of words that specifies how
'scrollbind' windows should behave. 'sbo' stands for ScrollBind 'scrollbind' windows should behave. 'sbo' stands for ScrollBind
Options. Options.
@@ -5019,6 +4858,7 @@ A jump table for the options with a short description can be found at |Q_op|.
tabpages all tab pages; without this only the current tab page tabpages all tab pages; without this only the current tab page
is restored, so that you can make a session for each is restored, so that you can make a session for each
tab page separately tab page separately
terminal include terminal windows where the command can be restored
unix with Unix end-of-line format (single <NL>), even when unix with Unix end-of-line format (single <NL>), even when
on Windows or DOS on Windows or DOS
winpos position of the whole Vim window winpos position of the whole Vim window
@@ -5400,8 +5240,6 @@ A jump table for the options with a short description can be found at |Q_op|.
*'showbreak'* *'sbr'* *E595* *'showbreak'* *'sbr'* *E595*
'showbreak' 'sbr' string (default "") 'showbreak' 'sbr' string (default "")
global global
{not available when compiled without the |+linebreak|
feature}
String to put at the start of lines that have been wrapped. Useful String to put at the start of lines that have been wrapped. Useful
values are "> " or "+++ ": > values are "> " or "+++ ": >
:set showbreak=>\ :set showbreak=>\
@@ -5471,8 +5309,6 @@ A jump table for the options with a short description can be found at |Q_op|.
*'showtabline'* *'stal'* *'showtabline'* *'stal'*
'showtabline' 'stal' number (default 1) 'showtabline' 'stal' number (default 1)
global global
{not available when compiled without the |+windows|
feature}
The value of this option specifies when the line with tab page labels The value of this option specifies when the line with tab page labels
will be displayed: will be displayed:
0: never 0: never
@@ -5532,8 +5368,6 @@ A jump table for the options with a short description can be found at |Q_op|.
*'smartindent'* *'si'* *'nosmartindent'* *'nosi'* *'smartindent'* *'si'* *'nosmartindent'* *'nosi'*
'smartindent' 'si' boolean (default off) 'smartindent' 'si' boolean (default off)
local to buffer local to buffer
{not available when compiled without the
|+smartindent| feature}
Do smart autoindenting when starting a new line. Works for C-like Do smart autoindenting when starting a new line. Works for C-like
programs, but can also be used for other languages. 'cindent' does programs, but can also be used for other languages. 'cindent' does
something like this, works better in most cases, but is more strict, something like this, works better in most cases, but is more strict,
@@ -5593,16 +5427,12 @@ A jump table for the options with a short description can be found at |Q_op|.
*'spell'* *'nospell'* *'spell'* *'nospell'*
'spell' boolean (default off) 'spell' boolean (default off)
local to window local to window
{not available when compiled without the |+syntax|
feature}
When on spell checking will be done. See |spell|. When on spell checking will be done. See |spell|.
The languages are specified with 'spelllang'. The languages are specified with 'spelllang'.
*'spellcapcheck'* *'spc'* *'spellcapcheck'* *'spc'*
'spellcapcheck' 'spc' string (default "[.?!]\_[\])'" \t]\+") 'spellcapcheck' 'spc' string (default "[.?!]\_[\])'" \t]\+")
local to buffer local to buffer
{not available when compiled without the |+syntax|
feature}
Pattern to locate the end of a sentence. The following word will be Pattern to locate the end of a sentence. The following word will be
checked to start with a capital letter. If not then it is highlighted checked to start with a capital letter. If not then it is highlighted
with SpellCap |hl-SpellCap| (unless the word is also badly spelled). with SpellCap |hl-SpellCap| (unless the word is also badly spelled).
@@ -5616,8 +5446,6 @@ A jump table for the options with a short description can be found at |Q_op|.
*'spellfile'* *'spf'* *'spellfile'* *'spf'*
'spellfile' 'spf' string (default empty) 'spellfile' 'spf' string (default empty)
local to buffer local to buffer
{not available when compiled without the |+syntax|
feature}
Name of the word list file where words are added for the |zg| and |zw| Name of the word list file where words are added for the |zg| and |zw|
commands. It must end in ".{encoding}.add". You need to include the commands. It must end in ".{encoding}.add". You need to include the
path, otherwise the file is placed in the current directory. path, otherwise the file is placed in the current directory.
@@ -5642,8 +5470,6 @@ A jump table for the options with a short description can be found at |Q_op|.
*'spelllang'* *'spl'* *'spelllang'* *'spl'*
'spelllang' 'spl' string (default "en") 'spelllang' 'spl' string (default "en")
local to buffer local to buffer
{not available when compiled without the |+syntax|
feature}
A comma separated list of word list names. When the 'spell' option is A comma separated list of word list names. When the 'spell' option is
on spellchecking will be done for these languages. Example: > on spellchecking will be done for these languages. Example: >
set spelllang=en_us,nl,medical set spelllang=en_us,nl,medical
@@ -5682,8 +5508,6 @@ A jump table for the options with a short description can be found at |Q_op|.
*'spellsuggest'* *'sps'* *'spellsuggest'* *'sps'*
'spellsuggest' 'sps' string (default "best") 'spellsuggest' 'sps' string (default "best")
global global
{not available when compiled without the |+syntax|
feature}
Methods used for spelling suggestions. Both for the |z=| command and Methods used for spelling suggestions. Both for the |z=| command and
the |spellsuggest()| function. This is a comma-separated list of the |spellsuggest()| function. This is a comma-separated list of
items: items:
@@ -5747,8 +5571,6 @@ A jump table for the options with a short description can be found at |Q_op|.
*'splitbelow'* *'sb'* *'nosplitbelow'* *'nosb'* *'splitbelow'* *'sb'* *'nosplitbelow'* *'nosb'*
'splitbelow' 'sb' boolean (default off) 'splitbelow' 'sb' boolean (default off)
global global
{not available when compiled without the |+windows|
feature}
When on, splitting a window will put the new window below the current When on, splitting a window will put the new window below the current
one. |:split| one. |:split|
@@ -5774,8 +5596,6 @@ A jump table for the options with a short description can be found at |Q_op|.
*'statusline'* *'stl'* *E540* *E542* *'statusline'* *'stl'* *E540* *E542*
'statusline' 'stl' string (default empty) 'statusline' 'stl' string (default empty)
global or local to window |global-local| global or local to window |global-local|
{not available when compiled without the |+statusline|
feature}
When nonempty, this option determines the content of the status line. When nonempty, this option determines the content of the status line.
Also see |status-line|. Also see |status-line|.
@@ -5980,8 +5800,6 @@ A jump table for the options with a short description can be found at |Q_op|.
*'suffixesadd'* *'sua'* *'suffixesadd'* *'sua'*
'suffixesadd' 'sua' string (default "") 'suffixesadd' 'sua' string (default "")
local to buffer local to buffer
{not available when compiled without the
|+file_in_path| feature}
Comma separated list of suffixes, which are used when searching for a Comma separated list of suffixes, which are used when searching for a
file for the "gf", "[I", etc. commands. Example: > file for the "gf", "[I", etc. commands. Example: >
:set suffixesadd=.java :set suffixesadd=.java
@@ -6032,8 +5850,6 @@ A jump table for the options with a short description can be found at |Q_op|.
*'synmaxcol'* *'smc'* *'synmaxcol'* *'smc'*
'synmaxcol' 'smc' number (default 3000) 'synmaxcol' 'smc' number (default 3000)
local to buffer local to buffer
{not available when compiled without the |+syntax|
feature}
Maximum column in which to search for syntax items. In long lines the Maximum column in which to search for syntax items. In long lines the
text after this column is not highlighted and following lines may not text after this column is not highlighted and following lines may not
be highlighted correctly, because the syntax state is cleared. be highlighted correctly, because the syntax state is cleared.
@@ -6044,8 +5860,6 @@ A jump table for the options with a short description can be found at |Q_op|.
*'syntax'* *'syn'* *'syntax'* *'syn'*
'syntax' 'syn' string (default empty) 'syntax' 'syn' string (default empty)
local to buffer local to buffer
{not available when compiled without the |+syntax|
feature}
When this option is set, the syntax with this name is loaded, unless When this option is set, the syntax with this name is loaded, unless
syntax highlighting has been switched off with ":syntax off". syntax highlighting has been switched off with ":syntax off".
Otherwise this option does not always reflect the current syntax (the Otherwise this option does not always reflect the current syntax (the
@@ -6073,8 +5887,6 @@ A jump table for the options with a short description can be found at |Q_op|.
*'tabline'* *'tal'* *'tabline'* *'tal'*
'tabline' 'tal' string (default empty) 'tabline' 'tal' string (default empty)
global global
{not available when compiled without the |+windows|
feature}
When nonempty, this option determines the content of the tab pages When nonempty, this option determines the content of the tab pages
line at the top of the Vim window. When empty Vim will use a default line at the top of the Vim window. When empty Vim will use a default
tab pages line. See |setting-tabline| for more info. tab pages line. See |setting-tabline| for more info.
@@ -6096,8 +5908,6 @@ A jump table for the options with a short description can be found at |Q_op|.
*'tabpagemax'* *'tpm'* *'tabpagemax'* *'tpm'*
'tabpagemax' 'tpm' number (default 50) 'tabpagemax' 'tpm' number (default 50)
global global
{not available when compiled without the |+windows|
feature}
Maximum number of tab pages to be opened by the |-p| command line Maximum number of tab pages to be opened by the |-p| command line
argument or the ":tab all" command. |tabpage| argument or the ":tab all" command. |tabpage|
@@ -6183,7 +5993,6 @@ A jump table for the options with a short description can be found at |Q_op|.
*'tagcase'* *'tc'* *'tagcase'* *'tc'*
'tagcase' 'tc' string (default "followic") 'tagcase' 'tc' string (default "followic")
global or local to buffer |global-local| global or local to buffer |global-local|
{not in Vi}
This option specifies how case is handled when searching the tags This option specifies how case is handled when searching the tags
file: file:
followic Follow the 'ignorecase' option followic Follow the 'ignorecase' option
@@ -6217,8 +6026,7 @@ A jump table for the options with a short description can be found at |Q_op|.
a directory tree. See |file-searching|. E.g., "/lib/**/tags" will a directory tree. See |file-searching|. E.g., "/lib/**/tags" will
find all files named "tags" below "/lib". The filename itself cannot find all files named "tags" below "/lib". The filename itself cannot
contain wildcards, it is used as-is. E.g., "/lib/**/tags?" will find contain wildcards, it is used as-is. E.g., "/lib/**/tags?" will find
files called "tags?". {not available when compiled without the files called "tags?".
|+path_extra| feature}
The |tagfiles()| function can be used to get a list of the file names The |tagfiles()| function can be used to get a list of the file names
actually used. actually used.
The use of |:set+=| and |:set-=| is preferred when adding or removing The use of |:set+=| and |:set-=| is preferred when adding or removing
@@ -6383,7 +6191,6 @@ A jump table for the options with a short description can be found at |Q_op|.
separating space only when needed. separating space only when needed.
NOTE: Use of special characters in 'titlestring' may cause the display NOTE: Use of special characters in 'titlestring' may cause the display
to be garbled (e.g., when it contains a CR or NL character). to be garbled (e.g., when it contains a CR or NL character).
{not available when compiled without the |+statusline| feature}
*'ttyfast'* *'tf'* *'nottyfast'* *'notf'* *'ttyfast'* *'tf'* *'nottyfast'* *'notf'*
'ttyfast' 'tf' Removed. |vim-differences| {Nvim} 'ttyfast' 'tf' Removed. |vim-differences| {Nvim}
@@ -6391,7 +6198,6 @@ A jump table for the options with a short description can be found at |Q_op|.
*'undodir'* *'udir'* *E5003* *'undodir'* *'udir'* *E5003*
'undodir' 'udir' string (default "$XDG_DATA_HOME/nvim/undo") 'undodir' 'udir' string (default "$XDG_DATA_HOME/nvim/undo")
global global
{only when compiled with the |+persistent_undo| feature}
List of directory names for undo files, separated with commas. List of directory names for undo files, separated with commas.
See |'backupdir'| for details of the format. See |'backupdir'| for details of the format.
"." means using the directory of the file. The undo file name for "." means using the directory of the file. The undo file name for
@@ -6410,7 +6216,6 @@ A jump table for the options with a short description can be found at |Q_op|.
*'undofile'* *'noundofile'* *'udf'* *'noudf'* *'undofile'* *'noundofile'* *'udf'* *'noudf'*
'undofile' 'udf' boolean (default off) 'undofile' 'udf' boolean (default off)
local to buffer local to buffer
{only when compiled with the |+persistent_undo| feature}
When on, Vim automatically saves undo history to an undo file when When on, Vim automatically saves undo history to an undo file when
writing a buffer to a file, and restores undo history from the same writing a buffer to a file, and restores undo history from the same
file on buffer read. file on buffer read.
@@ -6514,8 +6319,6 @@ A jump table for the options with a short description can be found at |Q_op|.
*'viewdir'* *'vdir'* *'viewdir'* *'vdir'*
'viewdir' 'vdir' string (default: "$XDG_DATA_HOME/nvim/view") 'viewdir' 'vdir' string (default: "$XDG_DATA_HOME/nvim/view")
global global
{not available when compiled without the |+mksession|
feature}
Name of the directory where to store files for |:mkview|. Name of the directory where to store files for |:mkview|.
This option cannot be set from a |modeline| or in the |sandbox|, for This option cannot be set from a |modeline| or in the |sandbox|, for
security reasons. security reasons.
@@ -6523,8 +6326,6 @@ A jump table for the options with a short description can be found at |Q_op|.
*'viewoptions'* *'vop'* *'viewoptions'* *'vop'*
'viewoptions' 'vop' string (default: "folds,options,cursor,curdir") 'viewoptions' 'vop' string (default: "folds,options,cursor,curdir")
global global
{not available when compiled without the |+mksession|
feature}
Changes the effect of the |:mkview| command. It is a comma separated Changes the effect of the |:mkview| command. It is a comma separated
list of words. Each word enables saving and restoring something: list of words. Each word enables saving and restoring something:
word save and restore ~ word save and restore ~
@@ -6547,8 +6348,6 @@ A jump table for the options with a short description can be found at |Q_op|.
*'virtualedit'* *'ve'* *'virtualedit'* *'ve'*
'virtualedit' 've' string (default "") 'virtualedit' 've' string (default "")
global global
{not available when compiled without the
|+virtualedit| feature}
A comma separated list of these words: A comma separated list of these words:
block Allow virtual editing in Visual block mode. block Allow virtual editing in Visual block mode.
insert Allow virtual editing in Insert mode. insert Allow virtual editing in Insert mode.
@@ -6639,8 +6438,6 @@ A jump table for the options with a short description can be found at |Q_op|.
*'wildignore'* *'wig'* *'wildignore'* *'wig'*
'wildignore' 'wig' string (default "") 'wildignore' 'wig' string (default "")
global global
{not available when compiled without the |+wildignore|
feature}
A list of file patterns. A file that matches with one of these A list of file patterns. A file that matches with one of these
patterns is ignored when expanding |wildcards|, completing file or patterns is ignored when expanding |wildcards|, completing file or
directory names, and influences the result of |expand()|, |glob()| and directory names, and influences the result of |expand()|, |glob()| and
@@ -6666,8 +6463,6 @@ A jump table for the options with a short description can be found at |Q_op|.
*'wildmenu'* *'wmnu'* *'nowildmenu'* *'nowmnu'* *'wildmenu'* *'wmnu'* *'nowildmenu'* *'nowmnu'*
'wildmenu' 'wmnu' boolean (default on) 'wildmenu' 'wmnu' boolean (default on)
global global
{not available if compiled without the |+wildmenu|
feature}
When 'wildmenu' is on, command-line completion operates in an enhanced When 'wildmenu' is on, command-line completion operates in an enhanced
mode. On pressing 'wildchar' (usually <Tab>) to invoke completion, mode. On pressing 'wildchar' (usually <Tab>) to invoke completion,
the possible matches are shown just above the command line, with the the possible matches are shown just above the command line, with the
@@ -6743,8 +6538,6 @@ A jump table for the options with a short description can be found at |Q_op|.
*'wildoptions'* *'wop'* *'wildoptions'* *'wop'*
'wildoptions' 'wop' string (default "") 'wildoptions' 'wop' string (default "")
global global
{not available when compiled without the |+wildignore|
feature}
A list of words that change how command line completion is done. A list of words that change how command line completion is done.
Currently only one word is allowed: Currently only one word is allowed:
tagfile When using CTRL-D to list matching tags, the kind of tagfile When using CTRL-D to list matching tags, the kind of
@@ -6790,8 +6583,6 @@ A jump table for the options with a short description can be found at |Q_op|.
*'winheight'* *'wh'* *E591* *'winheight'* *'wh'* *E591*
'winheight' 'wh' number (default 1) 'winheight' 'wh' number (default 1)
global global
{not available when compiled without the |+windows|
feature}
Minimal number of lines for the current window. This is not a hard Minimal number of lines for the current window. This is not a hard
minimum, Vim will use fewer lines if there is not enough room. If the minimum, Vim will use fewer lines if there is not enough room. If the
focus goes to a window that is smaller, its size is increased, at the focus goes to a window that is smaller, its size is increased, at the
@@ -6830,8 +6621,6 @@ A jump table for the options with a short description can be found at |Q_op|.
*'winfixheight'* *'wfh'* *'nowinfixheight'* *'nowfh'* *'winfixheight'* *'wfh'* *'nowinfixheight'* *'nowfh'*
'winfixheight' 'wfh' boolean (default off) 'winfixheight' 'wfh' boolean (default off)
local to window local to window
{not available when compiled without the |+windows|
feature}
Keep the window height when windows are opened or closed and Keep the window height when windows are opened or closed and
'equalalways' is set. Also for |CTRL-W_=|. Set by default for the 'equalalways' is set. Also for |CTRL-W_=|. Set by default for the
|preview-window| and |quickfix-window|. |preview-window| and |quickfix-window|.
@@ -6840,8 +6629,6 @@ A jump table for the options with a short description can be found at |Q_op|.
*'winfixwidth'* *'wfw'* *'nowinfixwidth'* *'nowfw'* *'winfixwidth'* *'wfw'* *'nowinfixwidth'* *'nowfw'*
'winfixwidth' 'wfw' boolean (default off) 'winfixwidth' 'wfw' boolean (default off)
local to window local to window
{not available when compiled without the |+windows|
feature}
Keep the window width when windows are opened or closed and Keep the window width when windows are opened or closed and
'equalalways' is set. Also for |CTRL-W_=|. 'equalalways' is set. Also for |CTRL-W_=|.
The width may be changed anyway when running out of room. The width may be changed anyway when running out of room.
@@ -6849,8 +6636,6 @@ A jump table for the options with a short description can be found at |Q_op|.
*'winminheight'* *'wmh'* *'winminheight'* *'wmh'*
'winminheight' 'wmh' number (default 1) 'winminheight' 'wmh' number (default 1)
global global
{not available when compiled without the |+windows|
feature}
The minimal height of a window, when it's not the current window. The minimal height of a window, when it's not the current window.
This is a hard minimum, windows will never become smaller. This is a hard minimum, windows will never become smaller.
When set to zero, windows may be "squashed" to zero lines (i.e. just a When set to zero, windows may be "squashed" to zero lines (i.e. just a

View File

@@ -882,8 +882,9 @@ Interactive: *interactive-functions*
GUI: *gui-functions* GUI: *gui-functions*
getfontname() get name of current font being used getfontname() get name of current font being used
getwinposx() X position of the GUI Vim window getwinpos() position of the Vim window
getwinposy() Y position of the GUI Vim window getwinposx() X position of the Vim window
getwinposy() Y position of the Vim window
balloon_show() set the balloon content balloon_show() set the balloon content
balloon_split() split a message for a balloon balloon_split() split a message for a balloon

View File

@@ -1,5 +1,5 @@
" CHICKEN-specific Vim customizations " CHICKEN-specific Vim customizations
" Last Change: 2018-01-06 " Last Change: 2018-03-05
" Author: Evan Hanson <evhan@foldling.org> " Author: Evan Hanson <evhan@foldling.org>
" Maintainer: Evan Hanson <evhan@foldling.org> " Maintainer: Evan Hanson <evhan@foldling.org>
" URL: https://foldling.org/vim/ftplugin/chicken.vim " URL: https://foldling.org/vim/ftplugin/chicken.vim
@@ -14,34 +14,37 @@ endif
setl keywordprg=chicken-doc setl keywordprg=chicken-doc
setl lispwords+=and-let* setl lispwords+=and-let*
setl lispwords+=begin-for-syntax
setl lispwords+=compiler-typecase setl lispwords+=compiler-typecase
setl lispwords+=condition-case setl lispwords+=condition-case
setl lispwords+=define-compiler-syntax setl lispwords+=define-compiler-syntax
setl lispwords+=define-constant setl lispwords+=define-constant
setl lispwords+=define-external setl lispwords+=define-external
setl lispwords+=define-for-syntax setl lispwords+=define-for-syntax
setl lispwords+=define-foreign-type
setl lispwords+=define-inline setl lispwords+=define-inline
setl lispwords+=define-location
setl lispwords+=define-record setl lispwords+=define-record
setl lispwords+=define-record-printer setl lispwords+=define-record-printer
setl lispwords+=define-specialization setl lispwords+=define-specialization
setl lispwords+=define-syntax-rule
setl lispwords+=eval-when
setl lispwords+=fluid-let setl lispwords+=fluid-let
setl lispwords+=foreign-lambda*
setl lispwords+=foreign-primitive
setl lispwords+=foreign-safe-lambda*
setl lispwords+=functor
setl lispwords+=handle-exceptions setl lispwords+=handle-exceptions
setl lispwords+=let-compiler-syntax setl lispwords+=let-compiler-syntax
setl lispwords+=let-location
setl lispwords+=let-optionals setl lispwords+=let-optionals
setl lispwords+=let-optionals* setl lispwords+=let-optionals*
setl lispwords+=letrec-values setl lispwords+=letrec-values
setl lispwords+=match setl lispwords+=match
setl lispwords+=match-lambda
setl lispwords+=match-lambda*
setl lispwords+=match-let setl lispwords+=match-let
setl lispwords+=match-let* setl lispwords+=match-let*
setl lispwords+=match-letrec
setl lispwords+=module setl lispwords+=module
setl lispwords+=receive setl lispwords+=receive
setl lispwords+=select
setl lispwords+=set!-values setl lispwords+=set!-values
setl lispwords+=test-group
let b:undo_ftplugin = b:undo_ftplugin . ' keywordprg<' let b:undo_ftplugin = b:undo_ftplugin . ' keywordprg<'

View File

@@ -1,6 +1,6 @@
" Vim filetype plugin file " Vim filetype plugin file
" Language: Scheme (R7RS) " Language: Scheme (R7RS)
" Last Change: 2018-01-20 " Last Change: 2018-03-05
" Author: Evan Hanson <evhan@foldling.org> " Author: Evan Hanson <evhan@foldling.org>
" Maintainer: Evan Hanson <evhan@foldling.org> " Maintainer: Evan Hanson <evhan@foldling.org>
" Previous Maintainer: Sergey Khorev <sergey.khorev@gmail.com> " Previous Maintainer: Sergey Khorev <sergey.khorev@gmail.com>
@@ -14,25 +14,20 @@ let s:cpo = &cpo
set cpo&vim set cpo&vim
setl lisp setl lisp
setl comments=:;;;;,:;;;,:;;,:;,sr:#\|,ex:\|# setl comments=:;;;;,:;;;,:;;,:;,sr:#\|,mb:\|,ex:\|#
setl commentstring=;%s setl commentstring=;%s
setl define=^\\s*(def\\k* setl define=^\\s*(def\\k*
setl iskeyword=33,35-39,42-43,45-58,60-90,94,95,97-122,126 setl iskeyword=33,35-39,42-43,45-58,60-90,94,95,97-122,126
let b:undo_ftplugin = 'setl lisp< comments< commentstring< define< iskeyword<' let b:undo_ftplugin = 'setl lisp< comments< commentstring< define< iskeyword<'
setl lispwords=begin setl lispwords=case
setl lispwords+=case
setl lispwords+=case-lambda
setl lispwords+=cond
setl lispwords+=cond-expand
setl lispwords+=define setl lispwords+=define
setl lispwords+=define-record-type setl lispwords+=define-record-type
setl lispwords+=define-syntax setl lispwords+=define-syntax
setl lispwords+=define-values setl lispwords+=define-values
setl lispwords+=do setl lispwords+=do
setl lispwords+=guard setl lispwords+=guard
setl lispwords+=import
setl lispwords+=lambda setl lispwords+=lambda
setl lispwords+=let setl lispwords+=let
setl lispwords+=let* setl lispwords+=let*

View File

@@ -2,7 +2,7 @@
" Header: "{{{ " Header: "{{{
" Maintainer: Bram Moolenaar " Maintainer: Bram Moolenaar
" Original Author: Andy Wokula <anwoku@yahoo.de> " Original Author: Andy Wokula <anwoku@yahoo.de>
" Last Change: 2017 Jun 13 " Last Change: 2018 Mar 09
" Version: 1.0 " Version: 1.0
" Description: HTML indent script with cached state for faster indenting on a " Description: HTML indent script with cached state for faster indenting on a
" range of lines. " range of lines.
@@ -56,6 +56,9 @@ let s:cpo_save = &cpo
set cpo-=C set cpo-=C
"}}} "}}}
" Pattern to match the name of a tag, including custom elements.
let s:tagname = '\w\+\(-\w\+\)*'
" Check and process settings from b:html_indent and g:html_indent... variables. " Check and process settings from b:html_indent and g:html_indent... variables.
" Prefer using buffer-local settings over global settings, so that there can " Prefer using buffer-local settings over global settings, so that there can
" be defaults for all HTML files and exceptions for specific types of HTML " be defaults for all HTML files and exceptions for specific types of HTML
@@ -280,7 +283,7 @@ func! s:CountITags(text)
let s:nextrel = 0 " relative indent steps for next line [unit &sw]: let s:nextrel = 0 " relative indent steps for next line [unit &sw]:
let s:block = 0 " assume starting outside of a block let s:block = 0 " assume starting outside of a block
let s:countonly = 1 " don't change state let s:countonly = 1 " don't change state
call substitute(a:text, '<\zs/\=\w\+\(-\w\+\)*\>\|<!--\[\|\[endif\]-->\|<!--\|-->', '\=s:CheckTag(submatch(0))', 'g') call substitute(a:text, '<\zs/\=' . s:tagname . '\>\|<!--\[\|\[endif\]-->\|<!--\|-->', '\=s:CheckTag(submatch(0))', 'g')
let s:countonly = 0 let s:countonly = 0
endfunc "}}} endfunc "}}}
@@ -292,7 +295,7 @@ func! s:CountTagsAndState(text)
let s:nextrel = 0 " relative indent steps for next line [unit &sw]: let s:nextrel = 0 " relative indent steps for next line [unit &sw]:
let s:block = b:hi_newstate.block let s:block = b:hi_newstate.block
let tmp = substitute(a:text, '<\zs/\=\w\+\(-\w\+\)*\>\|<!--\[\|\[endif\]-->\|<!--\|-->', '\=s:CheckTag(submatch(0))', 'g') let tmp = substitute(a:text, '<\zs/\=' . s:tagname . '\>\|<!--\[\|\[endif\]-->\|<!--\|-->', '\=s:CheckTag(submatch(0))', 'g')
if s:block == 3 if s:block == 3
let b:hi_newstate.scripttype = s:GetScriptType(matchstr(tmp, '\C.*<SCRIPT\>\zs[^>]*')) let b:hi_newstate.scripttype = s:GetScriptType(matchstr(tmp, '\C.*<SCRIPT\>\zs[^>]*'))
endif endif
@@ -530,7 +533,7 @@ func! s:FreshState(lnum)
let swendtag = match(text, '^\s*</') >= 0 let swendtag = match(text, '^\s*</') >= 0
" If previous line ended in a closing tag, line up with the opening tag. " If previous line ended in a closing tag, line up with the opening tag.
if !swendtag && text =~ '</\w\+\s*>\s*$' if !swendtag && text =~ '</' . s:tagname . '\s*>\s*$'
call cursor(state.lnum, 99999) call cursor(state.lnum, 99999)
normal! F< normal! F<
let start_lnum = HtmlIndent_FindStartTag() let start_lnum = HtmlIndent_FindStartTag()
@@ -860,7 +863,7 @@ func! HtmlIndent_FindStartTag()
" The cursor must be on or before a closing tag. " The cursor must be on or before a closing tag.
" If found, positions the cursor at the match and returns the line number. " If found, positions the cursor at the match and returns the line number.
" Otherwise returns 0. " Otherwise returns 0.
let tagname = matchstr(getline('.')[col('.') - 1:], '</\zs\w\+\ze') let tagname = matchstr(getline('.')[col('.') - 1:], '</\zs' . s:tagname . '\ze')
let start_lnum = searchpair('<' . tagname . '\>', '', '</' . tagname . '\>', 'bW') let start_lnum = searchpair('<' . tagname . '\>', '', '</' . tagname . '\>', 'bW')
if start_lnum > 0 if start_lnum > 0
return start_lnum return start_lnum
@@ -876,7 +879,7 @@ func! HtmlIndent_FindTagEnd()
" a self-closing tag, to the matching ">". " a self-closing tag, to the matching ">".
" Limited to look up to b:html_indent_line_limit lines away. " Limited to look up to b:html_indent_line_limit lines away.
let text = getline('.') let text = getline('.')
let tagname = matchstr(text, '\w\+\|!--', col('.')) let tagname = matchstr(text, s:tagname . '\|!--', col('.'))
if tagname == '!--' if tagname == '!--'
call search('--\zs>') call search('--\zs>')
elseif s:get_tag('/' . tagname) != 0 elseif s:get_tag('/' . tagname) != 0
@@ -921,9 +924,22 @@ func! s:InsideTag(foundHtmlString)
else else
let idx = match(text, '\s\zs[_a-zA-Z0-9-]\+="') let idx = match(text, '\s\zs[_a-zA-Z0-9-]\+="')
endif endif
if idx == -1
" try <tag attr
let idx = match(text, '<' . s:tagname . '\s\+\zs\w')
endif
if idx == -1
" after just <tag indent one level more
let idx = match(text, '<' . s:tagname . '$')
if idx >= 0
call cursor(lnum, idx)
return virtcol('.') + shiftwidth()
endif
endif
if idx > 0 if idx > 0
" Found the attribute. TODO: assumes spaces, no Tabs. " Found the attribute to align with.
return idx call cursor(lnum, idx)
return virtcol('.')
endif endif
endwhile endwhile
return -1 return -1

View File

@@ -1,6 +1,6 @@
" Vim syntax file " Vim syntax file
" Language: Scheme (CHICKEN) " Language: Scheme (CHICKEN)
" Last Change: 2018 Jan 31 " Last Change: 2018-02-05
" Author: Evan Hanson <evhan@foldling.org> " Author: Evan Hanson <evhan@foldling.org>
" Maintainer: Evan Hanson <evhan@foldling.org> " Maintainer: Evan Hanson <evhan@foldling.org>
" URL: https://foldling.org/vim/syntax/chicken.vim " URL: https://foldling.org/vim/syntax/chicken.vim
@@ -14,7 +14,7 @@ if !exists('b:did_scheme_syntax')
endif endif
" Lighten parentheses. " Lighten parentheses.
hi def link schemeParentheses Comment hi! def link schemeParentheses Comment
" foo#bar " foo#bar
syn match schemeExtraSyntax /[^ #'`\t\n()\[\]"|;]\+#[^ '`\t\n()\[\]"|;]\+/ syn match schemeExtraSyntax /[^ #'`\t\n()\[\]"|;]\+#[^ '`\t\n()\[\]"|;]\+/