mirror of
https://github.com/neovim/neovim.git
synced 2025-09-28 22:18:33 +00:00
docs: document 'list' behavior when 'listchars' excludes "tab" (#29360)
This commit is contained in:
@@ -3842,6 +3842,9 @@ A jump table for the options with a short description can be found at |Q_op|.
|
||||
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
|
||||
|
3
runtime/lua/vim/_meta/options.lua
generated
3
runtime/lua/vim/_meta/options.lua
generated
@@ -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:
|
||||
|
@@ -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
|
||||
|
Reference in New Issue
Block a user