Nix support

This commit is contained in:
outfoxxed 2022-12-02 03:47:12 -08:00
parent 2162c12271
commit c42f387f45
Signed by: outfoxxed
GPG key ID: 4C88A185FB89301E

View file

@ -102,7 +102,8 @@
(use-package tree-sitter-langs (use-package tree-sitter-langs
:config :config
(tree-sitter-require 'rust) (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 #'ts-fold-mode)
(add-hook 'tree-sitter-after-on-hook #'tree-sitter-hl-mode) (add-hook 'tree-sitter-after-on-hook #'tree-sitter-hl-mode)
(global-tree-sitter-mode +1)) (global-tree-sitter-mode +1))
@ -110,6 +111,10 @@
;; Rust support ;; Rust support
(use-package rustic) (use-package rustic)
;; Nix support
(use-package nix-mode
:mode "\\.nix\\'")
;; Evil (Vim Emulation) ;; Evil (Vim Emulation)
(use-package evil (use-package evil
:init :init