mirror of
https://github.com/vim/vim.git
synced 2025-10-21 08:24:06 -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
@@ -1,4 +1,4 @@
|
||||
*syntax.txt* For Vim version 9.1. Last change: 2025 Oct 08
|
||||
*syntax.txt* For Vim version 9.1. Last change: 2025 Oct 09
|
||||
|
||||
|
||||
VIM REFERENCE MANUAL by Bram Moolenaar
|
||||
@@ -6501,7 +6501,7 @@ that Setup / Font / Enable Bold is NOT enabled.
|
||||
|
||||
|
||||
==============================================================================
|
||||
20. When syntax is slow *:syntime*
|
||||
20. When syntax is slow *:synti* *:syntime*
|
||||
|
||||
This is aimed at authors of a syntax file.
|
||||
|
||||
@@ -6521,15 +6521,15 @@ this sequence: >
|
||||
This will display a list of syntax patterns that were used, sorted by the time
|
||||
it took to match them against the text.
|
||||
|
||||
:syntime on Start measuring syntax times. This will add some
|
||||
:synti[me] on Start measuring syntax times. This will add some
|
||||
overhead to compute the time spent on syntax pattern
|
||||
matching.
|
||||
|
||||
:syntime off Stop measuring syntax times.
|
||||
:synti[me] off Stop measuring syntax times.
|
||||
|
||||
:syntime clear Set all the counters to zero, restart measuring.
|
||||
:synti[me] clear Set all the counters to zero, restart measuring.
|
||||
|
||||
:syntime report Show the syntax items used since ":syntime on" in the
|
||||
:synti[me] report Show the syntax items used since ":syntime on" in the
|
||||
current window. Use a wider display to see more of
|
||||
the output.
|
||||
|
||||
|
@@ -3524,6 +3524,7 @@ $quote eval.txt /*$quote*
|
||||
:syntax-off syntax.txt /*:syntax-off*
|
||||
:syntax-on syntax.txt /*:syntax-on*
|
||||
:syntax-reset syntax.txt /*:syntax-reset*
|
||||
:synti syntax.txt /*:synti*
|
||||
:syntime syntax.txt /*:syntime*
|
||||
:t change.txt /*:t*
|
||||
:tN tagsrch.txt /*:tN*
|
||||
|
Reference in New Issue
Block a user