docs: update description for 'list' option (#16254)

Neovim has different defaults for 'list' compared to Vim which is why
the documentation needs to be updated.
This commit is contained in:
dundargoc 2021-11-08 16:22:53 +01:00 committed by GitHub
parent 8cbe100fcc
commit 4174244d8b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 7 additions and 7 deletions

View File

@ -3705,10 +3705,10 @@ A jump table for the options with a short description can be found at |Q_op|.
*'list'* *'nolist'*
'list' boolean (default off)
local to window
List mode: By default show tabs as CTRL-I is displayed, display $
after end of line. Useful to see the difference between tabs and
spaces and for trailing blanks. Further changed by the 'listchars'
option.
List mode: By default, show tabs as ">", trailing spaces as "-", and
non-breakable space characters as "+". Useful to see the difference
between tabs and spaces and for trailing blanks. Further changed by
the 'listchars' option.
The cursor is displayed at the start of the space a Tab character
occupies, not at the end as usual in Normal mode. To get this cursor

View File

@ -116,9 +116,9 @@ g8 Print the hex values of the bytes used in the
*:l* *:list*
:[range]l[ist] [count] [flags]
Same as :print, but display unprintable characters
with '^' and put $ after the line. This can be
further changed with the 'listchars' option.
Same as :print, but show tabs as ">", trailing spaces
as "-", and non-breakable space characters as "+" by
default. Further changed by the 'listchars' option.
See |ex-flags| for [flags].
*:nu* *:number*