Commit graph

22 commits

Author SHA1 Message Date
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
668dec2903 highlights(nix): improve builtins and exceptions highlights 2022-12-23 13:08:05 +01:00
figsoda
90edaba46a highlights(nix): add all builtins 2022-12-23 13:08:05 +01:00
figsoda
df67a47a7e highlights(nix): improve highlights 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
figsoda
770066ba01 highlights(nix): highlight parameters 2022-11-24 00:13:12 +01:00
Minijackson
29b0ea8093 fix(nix): update parser and queries 2022-05-24 01:06:15 +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
Stephan Seitz
2e3422df8e highlights(nix): fix for alias name of identifier in attrpath 2021-02-12 08:22:34 +01:00
leo60228
e45ab15cf3 Nix escape sequences 2020-11-22 22:29:55 +01:00
leo60228
30acaf5b77 null 2020-11-22 22:29:55 +01:00
leo60228
a0e14a5672 Fix unary - precedence 2020-11-22 22:29:55 +01:00
leo60228
5a25817884 Correct or comment 2020-11-22 22:29:55 +01:00
leo60228
c172b34f84 indented_str -> indented_string 2020-11-22 22:29:55 +01:00
leo60228
4f1dd5c151 Add fields to Nix highlighting 2020-11-22 22:29:55 +01:00
leo60228
ee0e8e8518 Initial Nix queries 2020-11-22 22:29:55 +01:00