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:
committed by
Christian Brabandt
parent
8e6b5034f3
commit
bbe5252c2c
20
runtime/syntax/testdir/input/vim_ex_normal.vim
Normal file
20
runtime/syntax/testdir/input/vim_ex_normal.vim
Normal 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
|
Reference in New Issue
Block a user