all repos — nixfiles @ 7a3f06fe4aa3a61b9d86b6aebdb404eba95d9eb5

System and user configuration, managed by nix and home-manager

emacs: install nix-ts-mode
Alan Pearce alan@alanpearce.eu
Mon, 29 Apr 2024 19:32:11 +0200
commit

7a3f06fe4aa3a61b9d86b6aebdb404eba95d9eb5

parent

7ae86e21a36265d432a7384a525add7ca617b0bf

2 files changed, 4 insertions(+), 0 deletions(-)

jump to
M user/emacs/init.eluser/emacs/init.el
@@ -806,6 +806,9 @@ (with-eval-after-load 'nix-mode   (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))
 
M user/settings/emacs.nixuser/settings/emacs.nix
@@ -132,6 +132,7 @@ magit-filenotify         markdown-mode
         marginalia
         nerd-icons
+        nix-ts-mode
         orderless
         doom-modeline
         php-mode