mirror of
https://github.com/neovim/neovim.git
synced 2025-09-29 06:28:35 +00:00
defaults: set 'listchars' to "tab:> ,trail:-,nbsp:+". #2872
Re: https://github.com/neovim/neovim/issues/2676
This commit is contained in:

committed by
Justin M. Keyes

parent
105a72eabc
commit
be29de1fa2
@@ -515,6 +515,9 @@ void set_init_1(void)
|
||||
/* Parse default for 'fillchars'. */
|
||||
(void)set_chars_option(&p_fcs);
|
||||
|
||||
/* Parse default for 'listchars'. */
|
||||
(void)set_chars_option(&p_lcs);
|
||||
|
||||
/* enc_locale() will try to find the encoding of the current locale. */
|
||||
p = enc_locale();
|
||||
if (p != NULL) {
|
||||
|
@@ -1422,10 +1422,10 @@ return {
|
||||
full_name='listchars', abbreviation='lcs',
|
||||
type='string', list='comma', scope={'global'},
|
||||
deny_duplicates=true,
|
||||
vi_def=true,
|
||||
vim=true,
|
||||
redraw={'all_windows'},
|
||||
varname='p_lcs',
|
||||
defaults={if_true={vi="eol:$"}}
|
||||
defaults={if_true={vi="eol:$", vim="tab:> ,trail:-,nbsp:+"}}
|
||||
},
|
||||
{
|
||||
full_name='loadplugins', abbreviation='lpl',
|
||||
|
@@ -57,7 +57,7 @@ STARTTEST
|
||||
:let line1=ScreenChar(line('.'),10)
|
||||
:call DoRecordScreen()
|
||||
:let g:test=" Test 8: breakindent + shift:1 + nu + sbr=# list briopt:sbr"
|
||||
:set briopt=shift:1,sbr,min:0 nu sbr=# list
|
||||
:set briopt=shift:1,sbr,min:0 nu sbr=# list lcs&vi
|
||||
:let line1=ScreenChar(line('.'),10)
|
||||
:call DoRecordScreen()
|
||||
:let g:test=" Test 9: breakindent + shift by +1 + 'nu' + sbr=# list"
|
||||
|
Reference in New Issue
Block a user