mirror of
https://github.com/neovim/neovim.git
synced 2025-10-08 02:46: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:
@@ -517,6 +517,8 @@ void fill_foldcolumn(win_T *wp, foldinfo_T foldinfo, linenr_T lnum, int attr, in
|
||||
symbol = wp->w_p_fcs_chars.foldopen;
|
||||
} else if (first_level == 1) {
|
||||
symbol = wp->w_p_fcs_chars.foldsep;
|
||||
} else if (wp->w_p_fcs_chars.foldinner != NUL) {
|
||||
symbol = wp->w_p_fcs_chars.foldinner;
|
||||
} else if (first_level + i <= 9) {
|
||||
symbol = schar_from_ascii('0' + first_level + i);
|
||||
} else {
|
||||
|
Reference in New Issue
Block a user