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:
Doug Kearns
2025-06-01 18:26:39 +02:00
committed by Christian Brabandt
parent 086b3b5b79
commit 0aaf6f8bbb
7 changed files with 170 additions and 8 deletions

View File

@ -0,0 +1,20 @@
>"+0#0000e05#ffffff0| |V|i|m| |:|p|r|o|f|i|l|e| |a|n|d| |:|p|r|o|f|d|e|l| |c|o|m@1|a|n|d|s| +0#0000000&@38
@75
@75
|p+0#af5f00255&|r|o|f|i|l|e| +0#0000000&@1|s+0#00e0003&|t|a|r|t| +0#0000000&|/|t|m|p|/|m|y|p|r|o|f|i|l|e| @45
|p+0#af5f00255&|r|o|f|i|l|e| +0#0000000&@1|s+0#00e0003&|t|o|p| +0#0000000&@61
|p+0#af5f00255&|r|o|f|i|l|e| +0#0000000&@1|p+0#00e0003&|a|u|s|e| +0#0000000&@60
|p+0#af5f00255&|r|o|f|i|l|e| +0#0000000&@1|c+0#00e0003&|o|n|t|i|n|u|e| +0#0000000&@57
|p+0#af5f00255&|r|o|f|i|l|e| +0#0000000&@1|f+0#00e0003&|u|n|c| +0#0000000&|M|y|F|u|n|c| @54
|p+0#af5f00255&|r|o|f|i|l|e| +0#0000000&@1|f+0#00e0003&|i|l|e| +0#0000000&|M|y|S|c|r|i|p|t|.|v|i|m| @48
|p+0#af5f00255&|r|o|f|i|l|e|!| +0#0000000&|f+0#00e0003&|i|l|e| +0#0000000&|M|y|S|c|r|i|p|t|.|v|i|m| @48
|p+0#af5f00255&|r|o|f|i|l|e| +0#0000000&@1|d+0#00e0003&|u|m|p| +0#0000000&@61
@75
|p+0#af5f00255&|r|o|f|d|e|l| +0#0000000&@1|f+0#00e0003&|u|n|c| +0#0000000&|M|y|F|u|n|c| @54
|p+0#af5f00255&|r|o|f|d|e|l| +0#0000000&@1|f+0#00e0003&|i|l|e| +0#0000000&|M|y|S|c|r|i|p|t|.|v|i|m| @48
|p+0#af5f00255&|r|o|f|d|e|l| +0#0000000&@1|h+0#00e0003&|e|r|e| +0#0000000&@61
@75
@75
|"+0#0000e05&| |t|a|i|l| |c|o|m@1|e|n|t| +0#0000000&@60
@75
@57|1|,|1| @10|T|o|p|

View File

@ -0,0 +1,20 @@
|p+0#af5f00255#ffffff0|r|o|f|d|e|l| +0#0000000&@1|f+0#00e0003&|i|l|e| +0#0000000&|M|y|S|c|r|i|p|t|.|v|i|m| @48
|p+0#af5f00255&|r|o|f|d|e|l| +0#0000000&@1|h+0#00e0003&|e|r|e| +0#0000000&@61
@75
@75
|"+0#0000e05&| |t|a|i|l| |c|o|m@1|e|n|t| +0#0000000&@60
> @74
|p+0#af5f00255&|r|o|f|i|l|e| +0#0000000&@1|s+0#00e0003&|t|a|r|t| +0#0000000&|/|t|m|p|/|m|y|p|r|o|f|i|l|e| |"+0#0000e05&| |c|o|m@1|e|n|t| +0#0000000&@35
|p+0#af5f00255&|r|o|f|i|l|e| +0#0000000&@1|s+0#00e0003&|t|o|p| +0#0000000&@16|"+0#0000e05&| |c|o|m@1|e|n|t| +0#0000000&@35
|p+0#af5f00255&|r|o|f|i|l|e| +0#0000000&@1|p+0#00e0003&|a|u|s|e| +0#0000000&@15|"+0#0000e05&| |c|o|m@1|e|n|t| +0#0000000&@35
|p+0#af5f00255&|r|o|f|i|l|e| +0#0000000&@1|c+0#00e0003&|o|n|t|i|n|u|e| +0#0000000&@12|"+0#0000e05&| |c|o|m@1|e|n|t| +0#0000000&@35
|p+0#af5f00255&|r|o|f|i|l|e| +0#0000000&@1|f+0#00e0003&|u|n|c| +0#0000000&|M|y|F|u|n|c| @9|"+0#0000e05&| |c|o|m@1|e|n|t| +0#0000000&@35
|p+0#af5f00255&|r|o|f|i|l|e| +0#0000000&@1|f+0#00e0003&|i|l|e| +0#0000000&|M|y|S|c|r|i|p|t|.|v|i|m| @3|"+0#0000e05&| |c|o|m@1|e|n|t| +0#0000000&@35
|p+0#af5f00255&|r|o|f|i|l|e|!| +0#0000000&|f+0#00e0003&|i|l|e| +0#0000000&|M|y|S|c|r|i|p|t|.|v|i|m| @3|"+0#0000e05&| |c|o|m@1|e|n|t| +0#0000000&@35
|p+0#af5f00255&|r|o|f|i|l|e| +0#0000000&@1|d+0#00e0003&|u|m|p| +0#0000000&@16|"+0#0000e05&| |c|o|m@1|e|n|t| +0#0000000&@35
@75
|p+0#af5f00255&|r|o|f|d|e|l| +0#0000000&@1|f+0#00e0003&|u|n|c| +0#0000000&|M|y|F|u|n|c| @9|"+0#0000e05&| |c|o|m@1|e|n|t| +0#0000000&@35
|p+0#af5f00255&|r|o|f|d|e|l| +0#0000000&@1|f+0#00e0003&|i|l|e| +0#0000000&|M|y|S|c|r|i|p|t|.|v|i|m| @3|"+0#0000e05&| |c|o|m@1|e|n|t| +0#0000000&@35
|p+0#af5f00255&|r|o|f|d|e|l| +0#0000000&@1|h+0#00e0003&|e|r|e| +0#0000000&@16|"+0#0000e05&| |c|o|m@1|e|n|t| +0#0000000&@35
@75
@57|1|9|,|0|-|1| @7|4@1|%|

View File

@ -0,0 +1,20 @@
| +0&#ffffff0@74
@75
|"+0#0000e05&| |t|r|a|i|l|i|n|g| |c|o|m@1|a|n|d| +0#0000000&@56
@75
|p+0#af5f00255&|r|o|f|i|l|e| +0#0000000&@1|s+0#00e0003&|t|a|r|t| +0#0000000&|/|t|m|p|/|m|y|p|r|o|f|i|l|e| ||| |e+0#af5f00255&|c|h|o| +0#0000000&|"+0#e000002&|F|o@1|"| +0#0000000&@32
>p+0#af5f00255&|r|o|f|i|l|e| +0#0000000&@1|s+0#00e0003&|t|o|p| +0#0000000&@16||| |e+0#af5f00255&|c|h|o| +0#0000000&|"+0#e000002&|F|o@1|"| +0#0000000&@32
|p+0#af5f00255&|r|o|f|i|l|e| +0#0000000&@1|p+0#00e0003&|a|u|s|e| +0#0000000&@15||| |e+0#af5f00255&|c|h|o| +0#0000000&|"+0#e000002&|F|o@1|"| +0#0000000&@32
|p+0#af5f00255&|r|o|f|i|l|e| +0#0000000&@1|c+0#00e0003&|o|n|t|i|n|u|e| +0#0000000&@12||| |e+0#af5f00255&|c|h|o| +0#0000000&|"+0#e000002&|F|o@1|"| +0#0000000&@32
|p+0#af5f00255&|r|o|f|i|l|e| +0#0000000&@1|f+0#00e0003&|u|n|c| +0#0000000&|M|y|F|u|n|c| @9||| |e+0#af5f00255&|c|h|o| +0#0000000&|"+0#e000002&|F|o@1|"| +0#0000000&@32
|p+0#af5f00255&|r|o|f|i|l|e| +0#0000000&@1|f+0#00e0003&|i|l|e| +0#0000000&|M|y|S|c|r|i|p|t|.|v|i|m| @3||| |e+0#af5f00255&|c|h|o| +0#0000000&|"+0#e000002&|F|o@1|"| +0#0000000&@32
|p+0#af5f00255&|r|o|f|i|l|e|!| +0#0000000&|f+0#00e0003&|i|l|e| +0#0000000&|M|y|S|c|r|i|p|t|.|v|i|m| @3||| |e+0#af5f00255&|c|h|o| +0#0000000&|"+0#e000002&|F|o@1|"| +0#0000000&@32
|p+0#af5f00255&|r|o|f|i|l|e| +0#0000000&@1|d+0#00e0003&|u|m|p| +0#0000000&@16||| |e+0#af5f00255&|c|h|o| +0#0000000&|"+0#e000002&|F|o@1|"| +0#0000000&@32
@75
|p+0#af5f00255&|r|o|f|d|e|l| +0#0000000&@1|f+0#00e0003&|u|n|c| +0#0000000&|M|y|F|u|n|c| @9||| |e+0#af5f00255&|c|h|o| +0#0000000&|"+0#e000002&|F|o@1|"| +0#0000000&@32
|p+0#af5f00255&|r|o|f|d|e|l| +0#0000000&@1|f+0#00e0003&|i|l|e| +0#0000000&|M|y|S|c|r|i|p|t|.|v|i|m| @3||| |e+0#af5f00255&|c|h|o| +0#0000000&|"+0#e000002&|F|o@1|"| +0#0000000&@32
|p+0#af5f00255&|r|o|f|d|e|l| +0#0000000&@1|h+0#00e0003&|e|r|e| +0#0000000&@16||| |e+0#af5f00255&|c|h|o| +0#0000000&|"+0#e000002&|F|o@1|"| +0#0000000&@32
@75
|~+0#4040ff13&| @73
|~| @73
| +0#0000000&@56|3|7|,|1| @9|B|o|t|

View 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"