1
0
forked from aniani/vim

runtime(vim): Update base-syntax, improve :normal highlighting

Fix command name termination, match bang, and allow a line-continued
argument.

closes: #15358

Signed-off-by: Doug Kearns <dougkearns@gmail.com>
Signed-off-by: Christian Brabandt <cb@256bit.org>
This commit is contained in:
Doug Kearns
2024-11-09 19:11:25 +01:00
committed by Christian Brabandt
parent 8e6b5034f3
commit bbe5252c2c
5 changed files with 75 additions and 13 deletions

View File

@@ -0,0 +1,20 @@
>"+0#0000e05#ffffff0| |V|i|m| |:|n|o|r|m|a|l| |c|o|m@1|a|n|d| +0#0000000&@53
@75
|n+0#af5f00255&|o|r|m|a|l| +0#0000000&|j| @66
|n+0#af5f00255&|o|r|m|a|l|!| +0#0000000&|j| @65
|n+0#af5f00255&|o|r|m|a|l|!|j+0#0000000&| @66
@75
|"+0#0000e05&| |n|o| |t|r|a|i|l|i|n|g| |b|a|r| +0#0000000&@57
|n+0#af5f00255&|o|r|m|a|l| +0#0000000&|j| |4|2|||e|c|h|o| |"|n|o|t| |e|c|h|o| |c|o|m@1|a|n|d|"| @39
@75
|"+0#0000e05&| |n|o| |t|r|a|i|l|i|n|g| |c|o|m@1|e|n|t| +0#0000000&@53
|n+0#af5f00255&|o|r|m|a|l| +0#0000000&|j| |"|0|p| @62
@75
|"+0#0000e05&| |m|u|l|t|i|l|i|n|e| |a|r|g| +0#0000000&@59
|n+0#af5f00255&|o|r|m|a|l| +0#0000000&|j| @66
@6|\+0#e000e06&|k+0#0000000&| @66
@6|"+0#0000e05&|\| |c|o|m@1|e|n|t| +0#0000000&@58
@6|\+0#e000e06&|j+0#0000000&| @66
@75
|"+0#0000e05&| |w|o|r|d|-|b|o|u|n|d|a|r|y| |r|e|q|u|i|r|e|d| |a|f|t|e|r| |n|a|m|e| |(|o|l|d| |b|u|g|)| +0#0000000&@29
@57|1|,|1| @10|T|o|p|

View File

@@ -0,0 +1,20 @@
|n+0#af5f00255#ffffff0|o|r|m|a|l| +0#0000000&|j| @66
@6|\+0#e000e06&|k+0#0000000&| @66
@6|"+0#0000e05&|\| |c|o|m@1|e|n|t| +0#0000000&@58
@6|\+0#e000e06&|j+0#0000000&| @66
@75
>"+0#0000e05&| |w|o|r|d|-|b|o|u|n|d|a|r|y| |r|e|q|u|i|r|e|d| |a|f|t|e|r| |n|a|m|e| |(|o|l|d| |b|u|g|)| +0#0000000&@29
|n|o|r|m|a|l|j| @67
|~+0#4040ff13&| @73
|~| @73
|~| @73
|~| @73
|~| @73
|~| @73
|~| @73
|~| @73
|~| @73
|~| @73
|~| @73
|~| @73
| +0#0000000&@56|1|9|,|1| @9|B|o|t|

View File

@@ -0,0 +1,20 @@
" Vim :normal command
normal j
normal! j
normal!j
" no trailing bar
normal j 42|echo "not echo command"
" no trailing comment
normal j "0p
" multiline arg
normal j
\k
"\ comment
\j
" word-boundary required after name (old bug)
normalj