diff options
Diffstat (limited to 'user')
-rw-r--r-- | user/emacs/init.el | 3 | ||||
-rw-r--r-- | user/settings/emacs.nix | 1 |
2 files changed, 4 insertions, 0 deletions
diff --git a/user/emacs/init.el b/user/emacs/init.el index 16bdd5fc..21a8b9d6 100644 --- a/user/emacs/init.el +++ b/user/emacs/init.el @@ -806,6 +806,9 @@ _C-k_: prev _u_pper _=_: upper/lower _s_mart resolve (setq nix-mode-use-smie t nix-indent-function #'smie-indent-line)) +(use-package nix-ts-mode + :mode (("\\.nix\\'" . nix-ts-mode))) + (use-package nix-update :commands (nix-update-fetch)) diff --git a/user/settings/emacs.nix b/user/settings/emacs.nix index e4cc8fe2..97563014 100644 --- a/user/settings/emacs.nix +++ b/user/settings/emacs.nix @@ -132,6 +132,7 @@ in markdown-mode marginalia nerd-icons + nix-ts-mode orderless doom-modeline php-mode |