Commit graph

6 commits

Author SHA1 Message Date
Stephan Seitz
779b4222a3 injections(go): inject regex into some regexp functions 2022-12-22 10:12:14 +01:00
Stephan Seitz
f68a1b16ce injections(go): avoid running queries on all comments
Fixes #3187
Fixes #3263
2022-08-06 05:37:14 -07:00
kraftwerk28
93de9cc7a0 Add c injection for cgo comments 2022-04-11 10:52:34 +02:00
Santos Gallegos
67f0857015 Revert "Comment: use @combined to create just one tree per buffer (#1252)"
This reverts commit 4a7a713c52.
2021-05-07 16:51:57 +02:00
Santos Gallegos
4a7a713c52
Comment: use @combined to create just one tree per buffer (#1252)
* Comment: use `@combined` to create just one tree per buffer

There is no need to create a tree per line/block for comments.
Should fix https://github.com/nvim-treesitter/nvim-treesitter/issues/1251

* Add injections for scss

* Fix jsonc

* Combine jsdoc
2021-04-28 07:19:07 -05:00
Santos Gallegos
e4083fc8e1
Add comment parser to highlight comment tags (#893)
Closes #236
2021-03-12 11:21:46 -05:00