mirror of
https://github.com/vim/vim.git
synced 2025-10-20 08:14:18 -04:00
runtime(doc,vim): Update base syntax, match full :syntime command
- Use the optional tail command-name spec at :help :syntime. - Match full :syntime command and highlight args. 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
08c39d2fe9
commit
7dba04f15c
38
runtime/syntax/testdir/input/vim_ex_syntime.vim
Normal file
38
runtime/syntax/testdir/input/vim_ex_syntime.vim
Normal file
@@ -0,0 +1,38 @@
|
||||
" Vim :syntime command
|
||||
|
||||
|
||||
syntime on
|
||||
syntime off
|
||||
syntime clear
|
||||
syntime report
|
||||
|
||||
syntime on | redraw! | syntime report
|
||||
|
||||
syntime on | echo "..."
|
||||
syntime on " comment
|
||||
syntime off | echo "..."
|
||||
syntime off " comment
|
||||
syntime clear | echo "..."
|
||||
syntime clear " comment
|
||||
syntime report | echo "..."
|
||||
syntime report " comment
|
||||
|
||||
|
||||
def Vim9Context()
|
||||
syntime on
|
||||
syntime off
|
||||
syntime clear
|
||||
syntime report
|
||||
|
||||
syntime on | redraw! | syntime report
|
||||
|
||||
syntime on | echo "..."
|
||||
syntime on # comment
|
||||
syntime off | echo "..."
|
||||
syntime off # comment
|
||||
syntime clear | echo "..."
|
||||
syntime clear # comment
|
||||
syntime report | echo "..."
|
||||
syntime report # comment
|
||||
enddef
|
||||
|
Reference in New Issue
Block a user