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:
zeertzjq
2026-03-03 08:08:12 +08:00
parent 518aa46158
commit f1c57b39fd
3 changed files with 14 additions and 11 deletions

View File

@@ -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,