feat(tree-sitter): add support to zig and nix
This commit is contained in:
parent
33de147b8f
commit
6d10e205dd
2 changed files with 7 additions and 0 deletions
|
@ -47,3 +47,7 @@
|
|||
|
||||
(use-package! nix-repl
|
||||
:commands nix-repl-show)
|
||||
|
||||
;; Tree sitter
|
||||
(eval-when! (featurep! +tree-sitter)
|
||||
(add-hook! 'nix-mode-local-vars-hook #'tree-sitter!))
|
||||
|
|
|
@ -30,3 +30,6 @@
|
|||
"f" #'zig-format-buffer
|
||||
"r" #'zig-run
|
||||
"t" #'zig-test-buffer))
|
||||
|
||||
(eval-when! (featurep! +tree-sitter)
|
||||
(add-hook! 'zig-mode-local-vars-hook #'tree-sitter!))
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue