diff options
| author | Santos Gallegos <stsewd@proton.me> | 2023-02-13 03:43:26 -0500 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2023-02-13 09:43:26 +0100 |
| commit | 1ec36fdcd567ee97e77fbaec29c3f8145d51e72c (patch) | |
| tree | 5b20e5502f6a80d54115a67cd96a0a1ec5c227bd /plugin | |
| parent | properly replace deprecated tsutils functions (diff) | |
| download | nvim-treesitter-1ec36fdcd567ee97e77fbaec29c3f8145d51e72c.tar nvim-treesitter-1ec36fdcd567ee97e77fbaec29c3f8145d51e72c.tar.gz nvim-treesitter-1ec36fdcd567ee97e77fbaec29c3f8145d51e72c.tar.bz2 nvim-treesitter-1ec36fdcd567ee97e77fbaec29c3f8145d51e72c.tar.lz nvim-treesitter-1ec36fdcd567ee97e77fbaec29c3f8145d51e72c.tar.xz nvim-treesitter-1ec36fdcd567ee97e77fbaec29c3f8145d51e72c.tar.zst nvim-treesitter-1ec36fdcd567ee97e77fbaec29c3f8145d51e72c.zip | |
comment(highlights): reduce false positives (#4298)
There are a couple cases where the comment highlights
will match things that aren't necessary a tag.
For example in Rust, when commenting a block that deals with
generics (generics are declared as `T: Type`),
this may be distracting.
So, instead of highlighting all tags, we can restrict
to highlighting the explicit keywords.
Ref https://github.com/stsewd/tree-sitter-comment/issues/14
Diffstat (limited to 'plugin')
0 files changed, 0 insertions, 0 deletions
