forked from aniani/vim
runtime(vim): Update base-syntax, improve :profile highlighting
Match full :profile and :profdel commands. closes: #17420 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
086b3b5b79
commit
0aaf6f8bbb
48
runtime/syntax/testdir/input/vim_ex_profile.vim
Normal file
48
runtime/syntax/testdir/input/vim_ex_profile.vim
Normal file
@@ -0,0 +1,48 @@
|
||||
" Vim :profile and :profdel commands
|
||||
|
||||
|
||||
profile start /tmp/myprofile
|
||||
profile stop
|
||||
profile pause
|
||||
profile continue
|
||||
profile func MyFunc
|
||||
profile file MyScript.vim
|
||||
profile! file MyScript.vim
|
||||
profile dump
|
||||
|
||||
profdel func MyFunc
|
||||
profdel file MyScript.vim
|
||||
profdel here
|
||||
|
||||
|
||||
" tail comment
|
||||
|
||||
profile start /tmp/myprofile " comment
|
||||
profile stop " comment
|
||||
profile pause " comment
|
||||
profile continue " comment
|
||||
profile func MyFunc " comment
|
||||
profile file MyScript.vim " comment
|
||||
profile! file MyScript.vim " comment
|
||||
profile dump " comment
|
||||
|
||||
profdel func MyFunc " comment
|
||||
profdel file MyScript.vim " comment
|
||||
profdel here " comment
|
||||
|
||||
|
||||
" trailing command
|
||||
|
||||
profile start /tmp/myprofile | echo "Foo"
|
||||
profile stop | echo "Foo"
|
||||
profile pause | echo "Foo"
|
||||
profile continue | echo "Foo"
|
||||
profile func MyFunc | echo "Foo"
|
||||
profile file MyScript.vim | echo "Foo"
|
||||
profile! file MyScript.vim | echo "Foo"
|
||||
profile dump | echo "Foo"
|
||||
|
||||
profdel func MyFunc | echo "Foo"
|
||||
profdel file MyScript.vim | echo "Foo"
|
||||
profdel here | echo "Foo"
|
||||
|
Reference in New Issue
Block a user