Is your feature request related something that is currently hard to do? Please describe.
It would be great to make fillchars a local setting to make it possible for plugins like https://github.com/liuchengxu/vista.vim to declare custom folding style via fold.
Describe the solution you'd like
Ability to call setlocal fillchars=... (similar to neovim solution).
Describe alternatives you've considered
Additional buffer-local variables for each setting (stl, stnc, vert, fold and diff).
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub, or unsubscribe.![]()
I wonder if it makes sense to have 'fillchars' option being local to a window. That might cause inconsistencies in the display of several window (borders and such) and actually I would even say, a plugin shouldn't mess with my local configured fillchars setting. Either it sets it globally (and then affects all windows) or it just shouldn't modify it at all.
This is already mentioned in the todo list, but with some question marks:
Should make 'listchars' global-local. Local to window or to buffer?
Probably window.
Add something like 'fillchars' local to window, but allow for specifying a
highlight name. Esp. for the statusline.
And "extends" and "precedes" are also useful without 'list' set. Also in
'fillchars' or another option?
I am not so sure, it is a good idea to make the whole fillchars setting local to window. For one, which windows vert suboption of the fillchar setting will then be used for drawing windows? fold, stl and diff might make sense, not sure (thought it might cause inconsistent display of folds and diff lines), stlnc probably doesn't (again it is not easily possible to guess, for which windows this would be in effect, since other windows could have their own stl suboptions.
For listchars, extends, precedes makes sense yes.
This todo item is no longer relevant:
Should make 'listchars' global-local. Local to window or to buffer?
Probably window. #5206
The topic is about "Make fillchars a local setting" but the closing commit makes 'listchars' global-local...
Are you suggesting that 'listchars' be only local, or did you just misunderstand the subject?
I mean listchars are not fillchars.
—
You are receiving this because you commented.
Closed #5206 as completed via 96ba25a.
—
Reply to this email directly, view it on GitHub.
You are receiving this because you commented.![]()