diff --git a/init.el b/init.el index 73b6efa..89b9b16 100644 --- a/init.el +++ b/init.el @@ -102,7 +102,8 @@ (use-package tree-sitter-langs :config (tree-sitter-require 'rust) - (tree-sitter-require 'java)) + (tree-sitter-require 'java) + (tree-sitter-require 'nix)) (add-hook 'tree-sitter-after-on-hook #'ts-fold-mode) (add-hook 'tree-sitter-after-on-hook #'tree-sitter-hl-mode) (global-tree-sitter-mode +1)) @@ -110,6 +111,10 @@ ;; Rust support (use-package rustic) +;; Nix support +(use-package nix-mode + :mode "\\.nix\\'") + ;; Evil (Vim Emulation) (use-package evil :init