mirror of
https://github.com/preservim/tagbar.git
synced 2024-11-26 02:13:44 +08:00
d4a08c33e5
The TagbarKind syntax match pattern has a zero-width look-behind atom with unlimited length. This can slow down syntax highlighting. Since in this case there can only be 1 or 2 characters that get matched, we can set a limit for the match, thus speeding up the matching. Since the limit unfortunately works with bytes instead of characters, use 3 instead of 2 to account for double-width folding characters. |
||
---|---|---|
.. | ||
tagbar.vim |