aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authordundargoc <33953936+dundargoc@users.noreply.github.com>2021-11-08 16:22:53 +0100
committerGitHub <noreply@github.com>2021-11-08 08:22:53 -0700
commit4174244d8b6718c703f8b8d3e907809bde9430bd (patch)
tree8f68c9e5cf4cc095e65098a39e7d23108259d9c2
parent8cbe100fcc9c5d34b07f417a82b745803fa3ef19 (diff)
downloadrneovim-4174244d8b6718c703f8b8d3e907809bde9430bd.tar.gz
rneovim-4174244d8b6718c703f8b8d3e907809bde9430bd.tar.bz2
rneovim-4174244d8b6718c703f8b8d3e907809bde9430bd.zip
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.
-rw-r--r--runtime/doc/options.txt8
-rw-r--r--runtime/doc/various.txt6
2 files changed, 7 insertions, 7 deletions
diff --git a/runtime/doc/options.txt b/runtime/doc/options.txt
index 6fff2bda7f..184c6de503 100644
--- a/runtime/doc/options.txt
+++ b/runtime/doc/options.txt
@@ -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
diff --git a/runtime/doc/various.txt b/runtime/doc/various.txt
index 5484e27797..b0e0bdcb84 100644
--- a/runtime/doc/various.txt
+++ b/runtime/doc/various.txt
@@ -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*