mirror of
https://github.com/nvim-treesitter/nvim-treesitter.git
synced 2026-07-18 19:30:02 -04:00
Initial Nix queries
This commit is contained in:
parent
e59a789289
commit
ee0e8e8518
3 changed files with 136 additions and 0 deletions
11
queries/nix/folds.scm
Normal file
11
queries/nix/folds.scm
Normal file
|
|
@ -0,0 +1,11 @@
|
|||
; Nix doesn't really have blocks, so just guess what people might want folds for
|
||||
[
|
||||
(if)
|
||||
(with)
|
||||
(let)
|
||||
(function)
|
||||
(attrset)
|
||||
(rec_attrset)
|
||||
(list)
|
||||
(indented_str)
|
||||
] @fold
|
||||
Loading…
Add table
Add a link
Reference in a new issue