Merge #9747 from janlazo/vim-8.1.0858

This commit is contained in:
Justin M. Keyes
2019-03-17 22:12:39 +01:00
committed by GitHub
4 changed files with 10 additions and 7 deletions

View File

@@ -44,6 +44,8 @@ local N_=function(s)
return 'N_(' .. cstr(s) .. ')'
end
end
-- used for 'cinkeys' and 'indentkeys'
local indentkeys_default = '0{,0},0),0],:,0#,!^F,o,O,e';
return {
cstr=cstr,
options={
@@ -319,7 +321,7 @@ return {
vi_def=true,
alloced=true,
varname='p_cink',
defaults={if_true={vi="0{,0},0),:,0#,!^F,o,O,e"}}
defaults={if_true={vi=indentkeys_default}}
},
{
full_name='cinoptions', abbreviation='cino',
@@ -1218,7 +1220,7 @@ return {
vi_def=true,
alloced=true,
varname='p_indk',
defaults={if_true={vi="0{,0},:,0#,!^F,o,O,e"}}
defaults={if_true={vi=indentkeys_default}}
},
{
full_name='infercase', abbreviation='inf',

View File

@@ -52,7 +52,7 @@ func Test_repeat_many()
endif
sleep 200m
call timer_stop(timer)
call assert_inrange((has('mac') ? 1 : 2), 4, g:val)
call s:assert_inrange((has('mac') ? 1 : 2), 4, g:val)
endfunc
func Test_with_partial_callback()