ObserverOfTime
25b656a4b7
comment(highlights): reduce user mention priority
2023-03-20 04:47:56 -04:00
Yochem van Rosmalen
252c1011c4
comment(highlights): add @nospell to tags and user mentions
2023-03-01 15:22:10 -05:00
Santos Gallegos
1ec36fdcd5
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
2023-02-13 09:43:26 +01:00
ObserverOfTime
53c26dd4af
highlights(comment): improve note tags
2022-11-26 13:17:51 +02:00
Lewis Russell
37398c7d68
feat(spell): support more languages
2022-09-26 13:47:12 +01:00
Erik Westrup
26105050aa
feat(comment): highlight NOTE as @text.note ( #3537 )
2022-09-23 17:52:00 +00:00
Lewis Russell
011ac894ec
Prefer lua-match over match
...
as string.find is much quicker than vim.regex:match*
2021-11-23 10:02:06 +01:00
Jaehwang Jerry Jung
c04aa172a3
fix typo in query
2021-06-26 12:19:08 +02:00
Joakker
c699cc2e47
Use #any-of? instead of #match? where posible
2021-06-25 00:22:48 +02:00
Santos Gallegos
4bfccba843
Comment: highlight text nodes
...
As requested in https://github.com/nvim-treesitter/nvim-treesitter/issues/236#issuecomment-797878646
2021-04-03 10:48:09 +02:00
Santos Gallegos
e4083fc8e1
Add comment parser to highlight comment tags ( #893 )
...
Closes #236
2021-03-12 11:21:46 -05:00