aboutsummaryrefslogtreecommitdiff
path: root/runtime/lua/vim
diff options
context:
space:
mode:
authorzeertzjq <zeertzjq@outlook.com>2024-06-16 06:08:36 +0800
committerGitHub <noreply@github.com>2024-06-16 06:08:36 +0800
commit7e65f3757bdbe41bbf022b05b6869ad6e7febe0d (patch)
tree146178239dad32661b8771db3616183b26e7509a /runtime/lua/vim
parentdb7332d6878661b4b21b11376edaf58116c8ec73 (diff)
downloadrneovim-7e65f3757bdbe41bbf022b05b6869ad6e7febe0d.tar.gz
rneovim-7e65f3757bdbe41bbf022b05b6869ad6e7febe0d.tar.bz2
rneovim-7e65f3757bdbe41bbf022b05b6869ad6e7febe0d.zip
docs: document 'list' behavior when 'listchars' excludes "tab" (#29360)
Diffstat (limited to 'runtime/lua/vim')
-rw-r--r--runtime/lua/vim/_meta/options.lua3
1 files changed, 3 insertions, 0 deletions
diff --git a/runtime/lua/vim/_meta/options.lua b/runtime/lua/vim/_meta/options.lua
index 155c93726b..27534789b3 100644
--- a/runtime/lua/vim/_meta/options.lua
+++ b/runtime/lua/vim/_meta/options.lua
@@ -3830,6 +3830,9 @@ vim.go.lw = vim.go.lispwords
--- between tabs and spaces and for trailing blanks. Further changed by
--- the 'listchars' option.
---
+--- When 'listchars' does not contain "tab" field, tabs are shown as "^I"
+--- or "<09>", like how unprintable characters are displayed.
+---
--- 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
--- position while displaying Tabs with spaces, use: