Nix support
This commit is contained in:
parent
2162c12271
commit
c42f387f45
7
init.el
7
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
|
||||
|
|
Loading…
Reference in a new issue