mirror of
https://github.com/neovim/neovim.git
synced 2025-02-25 18:55:25 -06:00
Merge #9539 "options: make 'listchars' and 'fillchars' local to window"
This commit is contained in:
@@ -3653,7 +3653,7 @@ A jump table for the options with a short description can be found at |Q_op|.
|
||||
*'listchars'* *'lcs'*
|
||||
'listchars' 'lcs' string (default: "tab:> ,trail:-,nbsp:+"
|
||||
Vi default: "eol:$")
|
||||
global
|
||||
local to window
|
||||
Strings to use in 'list' mode and for the |:list| command. It is a
|
||||
comma separated list of string settings.
|
||||
|
||||
@@ -3662,11 +3662,26 @@ A jump table for the options with a short description can be found at |Q_op|.
|
||||
omitted, there is no extra character at the end of the
|
||||
line.
|
||||
*lcs-tab*
|
||||
tab:xy Two characters to be used to show a tab. The first
|
||||
char is used once. The second char is repeated to
|
||||
fill the space that the tab normally occupies.
|
||||
"tab:>-" will show a tab that takes four spaces as
|
||||
">---". When omitted, a tab is show as ^I.
|
||||
tab:xy[z] Two or three characters to be used to show a tab.
|
||||
The third character is optional.
|
||||
|
||||
tab:xy The 'x' is always used, then 'y' as many times as will
|
||||
fit. Thus "tab:>-" displays:
|
||||
>
|
||||
>-
|
||||
>--
|
||||
etc.
|
||||
|
||||
tab:xyz The 'z' is always used, then 'x' is prepended, and
|
||||
then 'y' is used as many times as will fit. Thus
|
||||
"tab:<->" displays:
|
||||
>
|
||||
<>
|
||||
<->
|
||||
<-->
|
||||
etc.
|
||||
|
||||
When "tab:" is omitted, a tab is shown as ^I.
|
||||
*lcs-space*
|
||||
space:c Character to show for a space. When omitted, spaces
|
||||
are left blank.
|
||||
|
||||
@@ -37,8 +37,8 @@ a complete and centralized reference of those differences.
|
||||
- 'display' defaults to "lastline,msgsep"
|
||||
- 'encoding' is UTF-8 (cf. 'fileencoding' for file-content encoding)
|
||||
- 'fillchars' defaults (in effect) to "vert:│,fold:·"
|
||||
- 'fsync' is disabled
|
||||
- 'formatoptions' defaults to "tcqj"
|
||||
- 'fsync' is disabled
|
||||
- 'history' defaults to 10000 (the maximum)
|
||||
- 'hlsearch' is set by default
|
||||
- 'incsearch' is set by default
|
||||
@@ -184,9 +184,10 @@ Options:
|
||||
'cpoptions' flags: |cpo-_|
|
||||
'display' flag `msgsep` to minimize scrolling when showing messages
|
||||
'guicursor' works in the terminal
|
||||
'fillchars' flags: `msgsep` (see 'display' above)
|
||||
and `eob` for |hl-EndOfBuffer| marker
|
||||
'fillchars' local to window. flags: `msgsep` (see 'display' above) and `eob`
|
||||
for |hl-EndOfBuffer| marker
|
||||
'inccommand' shows interactive results for |:substitute|-like commands
|
||||
'listchars' local to window
|
||||
'scrollback'
|
||||
'statusline' supports unlimited alignment sections
|
||||
'tabline' %@Func@foo%X can call any function on mouse-click
|
||||
|
||||
Reference in New Issue
Block a user