From 7e65f3757bdbe41bbf022b05b6869ad6e7febe0d Mon Sep 17 00:00:00 2001 From: zeertzjq Date: Sun, 16 Jun 2024 06:08:36 +0800 Subject: docs: document 'list' behavior when 'listchars' excludes "tab" (#29360) --- src/nvim/options.lua | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src/nvim') diff --git a/src/nvim/options.lua b/src/nvim/options.lua index f323926015..b6e6a83508 100644 --- a/src/nvim/options.lua +++ b/src/nvim/options.lua @@ -4876,6 +4876,9 @@ return { 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: >vim -- cgit