summary refs log tree commit diff stats
path: root/user/emacs
diff options
context:
space:
mode:
authorAlan Pearce2024-04-29 19:32:11 +0200
committerAlan Pearce2024-04-29 19:33:39 +0200
commit7a3f06fe4aa3a61b9d86b6aebdb404eba95d9eb5 (patch)
tree16df85dd6727a20453e60f4c5ee7a683d0d10161 /user/emacs
parent7ae86e21a36265d432a7384a525add7ca617b0bf (diff)
downloadnixfiles-7a3f06fe4aa3a61b9d86b6aebdb404eba95d9eb5.tar.lz
nixfiles-7a3f06fe4aa3a61b9d86b6aebdb404eba95d9eb5.tar.zst
nixfiles-7a3f06fe4aa3a61b9d86b6aebdb404eba95d9eb5.zip
emacs: install nix-ts-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))