mirror of
https://github.com/doomemacs/doomemacs
synced 2025-08-01 12:17:25 -05:00
feat(tree-sitter): add support to zig and nix
This commit is contained in:
@ -47,3 +47,7 @@
|
|||||||
|
|
||||||
(use-package! nix-repl
|
(use-package! nix-repl
|
||||||
:commands nix-repl-show)
|
: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
|
"f" #'zig-format-buffer
|
||||||
"r" #'zig-run
|
"r" #'zig-run
|
||||||
"t" #'zig-test-buffer))
|
"t" #'zig-test-buffer))
|
||||||
|
|
||||||
|
(eval-when! (featurep! +tree-sitter)
|
||||||
|
(add-hook! 'zig-mode-local-vars-hook #'tree-sitter!))
|
||||||
|
Reference in New Issue
Block a user