Add nix support
This commit is contained in:
parent
7e71c3e4c7
commit
7b6b253fc7
5
init.el
5
init.el
|
@ -267,6 +267,11 @@
|
|||
(use-package lsp-treemacs
|
||||
:after (lsp-mode treemacs))
|
||||
|
||||
;; Nix support
|
||||
(use-package nix-mode
|
||||
:mode "\\.nix\\'"
|
||||
:hook (nix-mode . disable-tabs))
|
||||
|
||||
(add-to-list 'auto-mode-alist '("\\.rs\\'" . rust-ts-mode))
|
||||
(add-to-list 'auto-mode-alist '("\\.ts\\'" . typescript-ts-mode))
|
||||
(add-to-list 'auto-mode-alist '("\\.tsx\\'" . typescript-ts-mode))
|
||||
|
|
Loading…
Reference in a new issue