Riley Bruins
e9321bb914
feat(nix): misc cleanups + comment injection ( #6418 )
...
* fix(nix): highlight strings within interpolations
* feat(nix): move `derivation` to function.builtin
* fix(nix): removes all `priority` workarounds
* feat(nix): arbitrary injections using `#` comments
2024-04-09 14:20:26 +09:00
Phạm Huy Hoàng
722617e672
refactor(format): drop extra indentation for field
2024-03-21 15:51:26 +01:00
Pham Huy Hoang
57a8acf0c4
chore: query formatting
2024-01-19 16:58:37 +01:00
figsoda
811e8ba4f3
injections(nix): dynamic language injection via comments
2023-10-01 18:36:24 +02:00
Pham Huy Hoang
78b54eb7f6
chore(injections)!: update injection syntax to 0.9
...
Since 0.9, @lang syntax is still available as fallback but will soon be deprecated.
Because of that, new syntax should be adopted once 0.9 becomes the
baseline requirements for nvim-treesitter
- update health check
- update doc
2023-08-12 17:34:15 +02:00
figsoda
332fd5338f
injections(nix): remove @combined
2023-01-11 21:27:02 +01:00
figsoda
121044f0b7
fix(nix): reduce injection false positives
2023-01-11 21:27:02 +01:00
figsoda
06989a933e
injections(nix): combine injections to work better with interpolations
2022-12-23 13:08:05 +01:00
figsoda
a851cef248
injections(nix): fix runCommand*
2022-12-23 13:08:05 +01:00
figsoda
ace038e1e7
injections(nix): add injections for builtins.match
2022-11-24 00:13:12 +01:00
figsoda
07674600c9
injections(nix): add injections for code blocks
...
based on https://github.com/cstrahan/tree-sitter-nix/pull/31
2022-11-24 00:13:12 +01: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