home

My NixOS systems configurations.
Log | Files | Refs | LICENSE

commit bd8fc2c8d718c6c4fcc9ebbcd086e06ea31b098a
parent 62e036680a96747eba91ee475a025e9886127ca5
Author: Vincent Demeester <vincent@sbr.pm>
Date:   Wed, 22 May 2024 12:08:17 +0200

tools/emacs: add nix-ts-mode

Signed-off-by: Vincent Demeester <vincent@sbr.pm>

Diffstat:
Mtools/emacs/config/programming-nix.el | 2+-
Musers/vincent/dev/emacs.nix | 1+
2 files changed, 2 insertions(+), 1 deletion(-)

diff --git a/tools/emacs/config/programming-nix.el b/tools/emacs/config/programming-nix.el @@ -2,7 +2,7 @@ ;;; Commentary: ;;; Nix configuration ;;; Code: -(use-package nix-mode +(use-package nix-ts-mode :if *nix* :after (lsp) :mode ("\\.nix\\'" "\\.nix.in\\'")) diff --git a/users/vincent/dev/emacs.nix b/users/vincent/dev/emacs.nix @@ -106,6 +106,7 @@ let nerd-icons nix-buffer nix-mode + nix-ts-mode nixpkgs-fmt no-littering ob-async