mirror of
https://github.com/neovim/neovim.git
synced 2026-04-28 18:24:13 +00:00
vim-patch:73f4162: runtime(doc): Tweak doc style in options.txt
73f41626df
Co-authored-by: Hirohito Higashi <h.east.727@gmail.com>
This commit is contained in:
9
runtime/lua/vim/_meta/options.lua
generated
9
runtime/lua/vim/_meta/options.lua
generated
@@ -4097,7 +4097,7 @@ vim.go.lw = vim.go.lispwords
|
||||
--- position while displaying Tabs with spaces, use:
|
||||
---
|
||||
--- ```vim
|
||||
--- set list lcs=tab:\ \
|
||||
--- let &list = v:true | let &lcs = 'tab: '
|
||||
--- ```
|
||||
---
|
||||
--- Note that list mode will also affect formatting (set with 'textwidth'
|
||||
@@ -4186,8 +4186,11 @@ vim.wo.list = vim.o.list
|
||||
--- omitted, the "tab" setting is used for leading tabs.
|
||||
--- `lcs-tab` must also be set for this to work. *E1572*
|
||||
--- You can combine it with "tab:", for example:
|
||||
--- `:set listchars=tab:>-,leadtab:.\ `
|
||||
--- This shows leading tabs as periods(.) and other tabs
|
||||
---
|
||||
--- ```vim
|
||||
--- let &listchars = 'tab:>-,leadtab:. '
|
||||
--- ```
|
||||
--- This shows leading tabs as periods(.) and other tabs
|
||||
--- as ">--".
|
||||
--- *lcs-trail*
|
||||
--- trail:c Character to show for trailing spaces. When omitted,
|
||||
|
||||
Reference in New Issue
Block a user