diff options
author | Alan Pearce | 2024-04-29 19:32:11 +0200 |
---|---|---|
committer | Alan Pearce | 2024-04-29 19:33:39 +0200 |
commit | 7a3f06fe4aa3a61b9d86b6aebdb404eba95d9eb5 (patch) | |
tree | 16df85dd6727a20453e60f4c5ee7a683d0d10161 /user | |
parent | 7ae86e21a36265d432a7384a525add7ca617b0bf (diff) | |
download | nixfiles-7a3f06fe4aa3a61b9d86b6aebdb404eba95d9eb5.tar.lz nixfiles-7a3f06fe4aa3a61b9d86b6aebdb404eba95d9eb5.tar.zst nixfiles-7a3f06fe4aa3a61b9d86b6aebdb404eba95d9eb5.zip |
emacs: install nix-ts-mode
Diffstat (limited to 'user')
-rw-r--r-- | user/emacs/init.el | 3 | ||||
-rw-r--r-- | user/settings/emacs.nix | 1 |
2 files changed, 4 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)) 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 |