Skip to content

Commit

Permalink
tweak(emacs): use nix-ts-mode for Nix
Browse files Browse the repository at this point in the history
  • Loading branch information
gekoke committed Mar 16, 2024
1 parent ca5a533 commit 98e536e
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions modules/nixos/programs/emacs/init.el
Original file line number Diff line number Diff line change
Expand Up @@ -671,10 +671,9 @@
:custom
(lsp-nix-nil-formatter ["nixpkgs-fmt"]))

(use-package nix-mode
:hook (nix-mode . lsp-deferred))

(use-package nix-ts-mode)
(use-package nix-ts-mode
:mode "\\.nix\\'"
:hook (nix-ts-mode . lsp-deferred))

(use-package lsp-pyright
:hook (python-ts-mode . (lambda ()
Expand Down

0 comments on commit 98e536e

Please sign in to comment.