mirror of
https://github.com/neovim/neovim.git
synced 2025-11-14 22:39:08 +00:00
vim-patch:9ab6a22: runtime(doc): Improve :help :ls description formatting (#36541)
Quote the special buffer names for consistency (see :help bufname()) and
so that they're not incorrectly highlighted as optional command
arguments.
closes: vim/vim#18730
9ab6a22c90
Co-authored-by: Doug Kearns <dougkearns@gmail.com>
This commit is contained in:
@@ -1116,6 +1116,11 @@ list of buffers. |unlisted-buffer|
|
|||||||
thus you can always go to a specific buffer with ":buffer N"
|
thus you can always go to a specific buffer with ":buffer N"
|
||||||
or "N CTRL-^", where N is the buffer number.
|
or "N CTRL-^", where N is the buffer number.
|
||||||
|
|
||||||
|
For the file name these special values are used:
|
||||||
|
"[Prompt]" |prompt-buffer|
|
||||||
|
"[Scratch]" 'buftype' is "nofile"
|
||||||
|
"[No Name]" no file name specified
|
||||||
|
|
||||||
Indicators (chars in the same column are mutually exclusive):
|
Indicators (chars in the same column are mutually exclusive):
|
||||||
u an unlisted buffer (only displayed when [!] is used)
|
u an unlisted buffer (only displayed when [!] is used)
|
||||||
|unlisted-buffer|
|
|unlisted-buffer|
|
||||||
|
|||||||
Reference in New Issue
Block a user