defaults: wildoptions=pum,tagfile #10384

ref #6289
This commit is contained in:
Justin M. Keyes
2019-07-01 23:59:24 +02:00
committed by GitHub
parent ff95e62ff8
commit 097f85ae6c
6 changed files with 33 additions and 33 deletions

View File

@@ -2177,10 +2177,8 @@ static char_u *option_expand(int opt_idx, char_u *val)
return NameBuff;
}
/*
* After setting various option values: recompute variables that depend on
* option values.
*/
// After setting various option values: recompute variables that depend on
// option values.
static void didset_options(void)
{
// initialize the table for 'iskeyword' et.al.
@@ -2195,6 +2193,7 @@ static void didset_options(void)
(void)opt_strings_flags(p_dy, p_dy_values, &dy_flags, true);
(void)opt_strings_flags(p_tc, p_tc_values, &tc_flags, false);
(void)opt_strings_flags(p_ve, p_ve_values, &ve_flags, true);
(void)opt_strings_flags(p_wop, p_wop_values, &wop_flags, true);
(void)spell_check_msm();
(void)spell_check_sps();
(void)compile_cap_prog(curwin->w_s);

View File

@@ -2750,9 +2750,9 @@ return {
full_name='wildoptions', abbreviation='wop',
type='string', list='onecomma', scope={'global'},
deny_duplicates=true,
vi_def=true,
vim=true,
varname='p_wop',
defaults={if_true={vi=""}}
defaults={if_true={vi='', vim='pum,tagfile'}}
},
{
full_name='winaltkeys', abbreviation='wak',

View File

@@ -7,17 +7,18 @@ endif
let s:did_load = 1
" Align Nvim defaults to Vim.
set sidescroll=0
set directory^=.
set undodir^=.
set backspace=
set nrformats+=octal
set nohidden smarttab noautoindent noautoread complete-=i noruler noshowcmd
set listchars=eol:$
set directory^=.
set fillchars=vert:\|,fold:-
set shortmess-=F
set laststatus=1
set listchars=eol:$
set nohidden smarttab noautoindent noautoread complete-=i noruler noshowcmd
set nrformats+=octal
set shortmess-=F
set sidescroll=0
set tags=./tags,tags
set undodir^=.
set wildoptions=
" Prevent Nvim log from writing to stderr.
let $NVIM_LOG_FILE = exists($NVIM_LOG_FILE) ? $NVIM_LOG_FILE : 'Xnvim.log'