mirror of
https://github.com/vim/vim.git
synced 2025-07-24 10:45:12 -04:00
Match full :profile and :profdel commands. closes: #17420 Signed-off-by: Doug Kearns <dougkearns@gmail.com> Signed-off-by: Christian Brabandt <cb@256bit.org>
49 lines
1.2 KiB
VimL
49 lines
1.2 KiB
VimL
" 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"
|
|
|