runtime(vim): Update base-syntax, match :filetype in functions
closes: #17671 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
ba11e78f1d
commit
5911ac5023
30
runtime/syntax/testdir/input/vim_ex_filetype.vim
Normal file
30
runtime/syntax/testdir/input/vim_ex_filetype.vim
Normal file
@ -0,0 +1,30 @@
|
||||
" Vim :filetype command
|
||||
|
||||
|
||||
filetype
|
||||
filetype on
|
||||
filetype off
|
||||
filetype plugin on
|
||||
filetype plugin off
|
||||
filetype indent on
|
||||
filetype indent off
|
||||
filetype plugin indent on
|
||||
filetype plugin indent off
|
||||
|
||||
filetype | echo "Foo"
|
||||
filetype " comment
|
||||
|
||||
function Foo()
|
||||
filetype
|
||||
filetype on
|
||||
filetype off
|
||||
filetype plugin on
|
||||
filetype plugin off
|
||||
filetype indent on
|
||||
filetype indent off
|
||||
filetype plugin indent on
|
||||
filetype plugin indent off
|
||||
filetype | echo "Foo"
|
||||
filetype " comment
|
||||
endfunction
|
||||
|
||||
Reference in New Issue
Block a user