summary refs log tree commit diff stats
path: root/user/emacs
diff options
context:
space:
mode:
Diffstat (limited to 'user/emacs')
-rw-r--r--user/emacs/init.el3
1 files changed, 3 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))