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
|
(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
|
||||||
|
|
Loading…
Reference in a new issue