Skip to content

Commit

Permalink
refactor(emacs): nest use-package clauses
Browse files Browse the repository at this point in the history
  • Loading branch information
gekoke committed Feb 25, 2025
1 parent 553e0ea commit fd6a860
Showing 1 changed file with 10 additions and 11 deletions.
21 changes: 10 additions & 11 deletions modules/nixos/programs/emacs/init.el
Original file line number Diff line number Diff line change
Expand Up @@ -1043,17 +1043,16 @@
(use-package typst-ts-mode
:ensure nil
:custom
(typst-ts-mode-indent-offset 2))

(use-package lsp-mode
:init
(add-to-list 'lsp-language-id-configuration '(typst-ts-mode . "typst"))
:config
(lsp-register-client
(make-lsp-client
:new-connection (lsp-stdio-connection "typst-lsp")
:activation-fn (lsp-activate-on "typst")
:server-id 'typst-lsp)))
(typst-ts-mode-indent-offset 2)
(use-package lsp-mode
:init
(add-to-list 'lsp-language-id-configuration '(typst-ts-mode . "typst"))
:config
(lsp-register-client
(make-lsp-client
:new-connection (lsp-stdio-connection "typst-lsp")
:activation-fn (lsp-activate-on "typst")
:server-id 'typst-lsp))))

(use-package age
:custom
Expand Down

0 comments on commit fd6a860

Please sign in to comment.