mirror of
https://github.com/neovim/neovim.git
synced 2025-09-11 22:08:18 +00:00
options: make 'fillchars' and 'listchars' global-local
These options were previously global. A global-local window option behaves closer to a global option "per default" (i e with :set), but still supports local behavior via :setl Also this restores back-compat for nvim_set_option("fcs", ...) which are currently broken on 0.4.x but worked in earlier versions
This commit is contained in:
@@ -804,11 +804,12 @@ return {
|
||||
},
|
||||
{
|
||||
full_name='fillchars', abbreviation='fcs',
|
||||
type='string', list='onecomma', scope={'window'},
|
||||
type='string', list='onecomma', scope={'global', 'window'},
|
||||
deny_duplicates=true,
|
||||
vi_def=true,
|
||||
alloced=true,
|
||||
redraw={'current_window'},
|
||||
varname='p_fcs',
|
||||
defaults={if_true={vi=''}}
|
||||
},
|
||||
{
|
||||
@@ -1420,11 +1421,12 @@ return {
|
||||
},
|
||||
{
|
||||
full_name='listchars', abbreviation='lcs',
|
||||
type='string', list='onecomma', scope={'window'},
|
||||
type='string', list='onecomma', scope={'global', 'window'},
|
||||
deny_duplicates=true,
|
||||
vim=true,
|
||||
alloced=true,
|
||||
redraw={'current_window'},
|
||||
varname='p_lcs',
|
||||
defaults={if_true={vi="eol:$", vim="tab:> ,trail:-,nbsp:+"}}
|
||||
},
|
||||
{
|
||||
|
Reference in New Issue
Block a user