mirror of
https://github.com/vim/vim.git
synced 2025-10-20 08:14:18 -04:00
- 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>
39 lines
687 B
VimL
39 lines
687 B
VimL
" 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
|
|
|