mirror of
https://github.com/neovim/neovim.git
synced 2025-10-01 23:48:32 +00:00
@@ -1081,7 +1081,7 @@ return {
|
||||
short_desc=N_("don't unload buffer when it is |abandon|ed"),
|
||||
type='bool', scope={'global'},
|
||||
varname='p_hid',
|
||||
defaults={if_true=false}
|
||||
defaults={if_true=true}
|
||||
},
|
||||
{
|
||||
full_name='highlight', abbreviation='hl',
|
||||
@@ -1288,7 +1288,7 @@ return {
|
||||
short_desc=N_("two spaces after a period with a join command"),
|
||||
type='bool', scope={'global'},
|
||||
varname='p_js',
|
||||
defaults={if_true=true}
|
||||
defaults={if_true=false}
|
||||
},
|
||||
{
|
||||
full_name='jumpoptions', abbreviation='jop',
|
||||
|
@@ -12,6 +12,7 @@ set directory^=.
|
||||
set fillchars=vert:\|,fold:-
|
||||
set laststatus=1
|
||||
set listchars=eol:$
|
||||
set joinspaces
|
||||
set nohidden smarttab noautoindent noautoread complete-=i noruler noshowcmd
|
||||
set nrformats+=octal
|
||||
set shortmess-=F
|
||||
|
Binary file not shown.
@@ -998,6 +998,7 @@ func Test_bufunload_all()
|
||||
endfunc
|
||||
au BufUnload * call UnloadAllBufs()
|
||||
au VimLeave * call writefile(['Test Finished'], 'Xout')
|
||||
set nohidden
|
||||
edit Xxx1
|
||||
split Xxx2
|
||||
q
|
||||
|
@@ -33,7 +33,7 @@ func Test_command_count_0()
|
||||
delcommand RangeBuffers
|
||||
delcommand RangeBuffersAll
|
||||
|
||||
set hidden&
|
||||
set nohidden
|
||||
set swapfile&
|
||||
endfunc
|
||||
|
||||
|
@@ -540,7 +540,7 @@ func Test_diffopt_hiddenoff()
|
||||
|
||||
bwipe!
|
||||
bwipe!
|
||||
set hidden& diffopt&
|
||||
set nohidden diffopt&
|
||||
endfunc
|
||||
|
||||
func Test_diffoff_hidden()
|
||||
@@ -577,7 +577,7 @@ func Test_diffoff_hidden()
|
||||
|
||||
bwipe!
|
||||
bwipe!
|
||||
set hidden& diffopt&
|
||||
set nohidden diffopt&
|
||||
endfunc
|
||||
|
||||
func Test_setting_cursor()
|
||||
|
@@ -145,7 +145,7 @@ func Test_gf_visual()
|
||||
|
||||
bwipe!
|
||||
call delete('Xtest_gf_visual')
|
||||
set hidden&
|
||||
set nohidden
|
||||
endfunc
|
||||
|
||||
func Test_gf_error()
|
||||
|
@@ -95,7 +95,7 @@ func Test_ins_complete()
|
||||
call delete('Xtest11.one')
|
||||
call delete('Xtest11.two')
|
||||
call delete('Xtestdata')
|
||||
set cpt& cot& def& tags& tagbsearch& hidden&
|
||||
set cpt& cot& def& tags& tagbsearch& nohidden
|
||||
cd ..
|
||||
call delete('Xdir', 'rf')
|
||||
endfunc
|
||||
|
@@ -51,7 +51,7 @@ func Test_join_marks()
|
||||
|
||||
/^This line/;'}-join
|
||||
call assert_equal([0, 4, 11, 0], getpos("'["))
|
||||
call assert_equal([0, 4, 67, 0], getpos("']"))
|
||||
call assert_equal([0, 4, 66, 0], getpos("']"))
|
||||
enew!
|
||||
endfunc
|
||||
|
||||
|
@@ -307,7 +307,7 @@ func Test_mksession_buffer_count()
|
||||
call delete('Xbaz')
|
||||
call delete('Xtest_mks.out')
|
||||
%bwipe!
|
||||
set hidden&
|
||||
set nohidden
|
||||
endfunc
|
||||
|
||||
if has('extra_search')
|
||||
|
@@ -539,7 +539,7 @@ func Test_copy_winopt()
|
||||
call assert_equal(4,&numberwidth)
|
||||
bw!
|
||||
|
||||
set hidden&
|
||||
set nohidden
|
||||
endfunc
|
||||
|
||||
func Test_shortmess_F()
|
||||
|
@@ -170,7 +170,7 @@ func Test_tag_symbolic()
|
||||
call assert_equal('Xtest.c', expand('%:t'))
|
||||
call assert_equal(2, col('.'))
|
||||
|
||||
set hidden&
|
||||
set nohidden
|
||||
set tags&
|
||||
enew!
|
||||
call delete('Xtags')
|
||||
|
@@ -608,7 +608,7 @@ func Test_window_prevwin()
|
||||
" reset
|
||||
q
|
||||
call delete('tmp.txt')
|
||||
set hidden&vim autoread&vim
|
||||
set nohidden autoread&vim
|
||||
delfunc Fun_RenewFile
|
||||
endfunc
|
||||
|
||||
|
Reference in New Issue
Block a user