mirror of
https://github.com/zoriya/vim.git
synced 2026-06-03 12:07:11 +00:00
runtime(vim): Fix indent after :silent! function
See https://github.com/vim/vim/commit/35699f17497dcdcfdd747fedaef28f208ac6eb5f#commitcomment-148816912 closes: #16009 Signed-off-by: Doug Kearns <dougkearns@gmail.com> Signed-off-by: Christian Brabandt <cb@256bit.org>
This commit is contained in:
committed by
Christian Brabandt
parent
7c5152826f
commit
7724d621f2
@@ -951,3 +951,12 @@ endenum
|
||||
call prop_type_add('indent_after_literal_dict', #{ foo: 'bar' })
|
||||
call prop_type_delete('indent_after_literal_dict')
|
||||
" END_INDENT
|
||||
|
||||
" START_INDENT
|
||||
silent function Foo()
|
||||
return 42
|
||||
endfunction
|
||||
silent! function Bar()
|
||||
return 42
|
||||
endfunction
|
||||
" END_INDENT
|
||||
|
||||
@@ -951,3 +951,12 @@ endenum
|
||||
call prop_type_add('indent_after_literal_dict', #{ foo: 'bar' })
|
||||
call prop_type_delete('indent_after_literal_dict')
|
||||
" END_INDENT
|
||||
|
||||
" START_INDENT
|
||||
silent function Foo()
|
||||
return 42
|
||||
endfunction
|
||||
silent! function Bar()
|
||||
return 42
|
||||
endfunction
|
||||
" END_INDENT
|
||||
|
||||
Reference in New Issue
Block a user