mirror of
https://github.com/neovim/neovim.git
synced 2025-10-07 02:16:31 +00:00
vim-patch:9.1.1819: Cannot configure the inner foldlevel indicator (#36010)
Problem: Cannot configure the inner foldlevel indicator for the
foldcolumn
Solution: Add "foldinner" suboption value to the 'fillchar' option
(Maria José Solano).
closes: vim/vim#18365
1a691afd27
Co-authored-by: Maria José Solano <majosolano99@gmail.com>
This commit is contained in:
@@ -585,7 +585,8 @@ A closed fold is indicated with a '+'.
|
||||
These characters can be changed with the 'fillchars' option.
|
||||
|
||||
Where the fold column is too narrow to display all nested folds, digits are
|
||||
shown to indicate the nesting level.
|
||||
shown to indicate the nesting level. To override this behavior you can use
|
||||
the "foldinner" character of the 'fillchars' option.
|
||||
|
||||
The mouse can also be used to open and close folds by clicking in the
|
||||
fold column:
|
||||
|
@@ -285,6 +285,7 @@ OPTIONS
|
||||
• 'completeopt' flag "nearest" sorts completion results by distance to cursor.
|
||||
• 'diffanchors' specifies addresses to anchor a diff.
|
||||
• 'diffopt' `inline:` configures diff highlighting for changes within a line.
|
||||
• 'fillchars' has new flag "foldinner".
|
||||
• 'grepformat' is now a |global-local| option.
|
||||
• 'maxsearchcount' sets maximum value for |searchcount()| and defaults to 999.
|
||||
• 'pummaxwidth' sets maximum width for the completion popup menu.
|
||||
|
@@ -2860,7 +2860,10 @@ A jump table for the options with a short description can be found at |Q_op|.
|
||||
fold '·' or '-' filling 'foldtext'
|
||||
foldopen '-' mark the beginning of a fold
|
||||
foldclose '+' show a closed fold
|
||||
foldsep '│' or '|' open fold middle marker
|
||||
foldsep '│' or '|' open fold middle marker
|
||||
foldinner none character to show instead of the
|
||||
numeric foldlevel when it would be
|
||||
repeated in a narrow 'foldcolumn'
|
||||
diff '-' deleted lines of the 'diff' option
|
||||
msgsep ' ' message separator 'display'
|
||||
eob '~' empty lines at the end of a buffer
|
||||
|
5
runtime/lua/vim/_meta/options.lua
generated
5
runtime/lua/vim/_meta/options.lua
generated
@@ -2578,7 +2578,10 @@ vim.bo.ft = vim.bo.filetype
|
||||
--- fold '·' or '-' filling 'foldtext'
|
||||
--- foldopen '-' mark the beginning of a fold
|
||||
--- foldclose '+' show a closed fold
|
||||
--- foldsep '│' or '|' open fold middle marker
|
||||
--- foldsep '│' or '|' open fold middle marker
|
||||
--- foldinner none character to show instead of the
|
||||
--- numeric foldlevel when it would be
|
||||
--- repeated in a narrow 'foldcolumn'
|
||||
--- diff '-' deleted lines of the 'diff' option
|
||||
--- msgsep ' ' message separator 'display'
|
||||
--- eob '~' empty lines at the end of a buffer
|
||||
|
Reference in New Issue
Block a user