From 7a3f06fe4aa3a61b9d86b6aebdb404eba95d9eb5 Mon Sep 17 00:00:00 2001 From: Alan Pearce Date: Mon, 29 Apr 2024 19:32:11 +0200 Subject: emacs: install nix-ts-mode --- user/emacs/init.el | 3 +++ user/settings/emacs.nix | 1 + 2 files changed, 4 insertions(+) (limited to 'user') 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 -- cgit 1.4.1