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
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'* *'nolist'*
'list' boolean (default off) 'list' boolean (default off)
local to window local to window
List mode: By default show tabs as CTRL-I is displayed, display $ List mode: By default, show tabs as ">", trailing spaces as "-", and
after end of line. Useful to see the difference between tabs and non-breakable space characters as "+". Useful to see the difference
spaces and for trailing blanks. Further changed by the 'listchars' between tabs and spaces and for trailing blanks. Further changed by
option. the 'listchars' option.
The cursor is displayed at the start of the space a Tab character 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 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* *:l* *:list*
:[range]l[ist] [count] [flags] :[range]l[ist] [count] [flags]
Same as :print, but display unprintable characters Same as :print, but show tabs as ">", trailing spaces
with '^' and put $ after the line. This can be as "-", and non-breakable space characters as "+" by
further changed with the 'listchars' option. default. Further changed by the 'listchars' option.
See |ex-flags| for [flags]. See |ex-flags| for [flags].
*:nu* *:number* *:nu* *:number*