0
0
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:
Doug Kearns
2025-10-09 19:39:57 +00:00
committed by Christian Brabandt
parent 08c39d2fe9
commit 7dba04f15c
9 changed files with 124 additions and 12 deletions

View 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