emacs: use nix-ts-mode over nix-mode
This commit is contained in:
parent
9bc2757caa
commit
51ed16665d
1 changed files with 3 additions and 1 deletions
|
@ -56,7 +56,7 @@ One will be created if none exist."
|
|||
(package-install 'json-mode)
|
||||
(package-install 'lua-mode)
|
||||
(package-install 'markdown-mode)
|
||||
(package-install 'nix-mode)
|
||||
(package-install 'nix-ts-mode)
|
||||
(package-install 'yaml-mode)
|
||||
|
||||
;; hooks
|
||||
|
@ -97,9 +97,11 @@ One will be created if none exist."
|
|||
(add-hook 'org-mode-hook 'auto-fill-mode)
|
||||
|
||||
;; file extensions
|
||||
(require 'nix-ts-mode)
|
||||
(add-to-list 'auto-mode-alist '("\\.yuck\\'" . lisp-mode))
|
||||
(add-to-list 'auto-mode-alist '("\\.eml\\'" . mail-mode))
|
||||
(add-to-list 'auto-mode-alist '("\\.scd\\'" . markdown-mode))
|
||||
(add-to-list 'auto-mode-alist '("\\.nix\\'" . nix-ts-mode))
|
||||
(add-to-list 'auto-mode-alist '("\\.3lua\\'" . nroff-mode))
|
||||
|
||||
;; treesitter modes
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue