Skip to content

Commit

Permalink
feat: enable apheleia
Browse files Browse the repository at this point in the history
  • Loading branch information
johnae committed Nov 15, 2024
1 parent 5911eec commit f358616
Showing 1 changed file with 10 additions and 2 deletions.
12 changes: 10 additions & 2 deletions users/profiles/emacs/extras/dev.el
Original file line number Diff line number Diff line change
Expand Up @@ -83,18 +83,26 @@
:ensure t
:mode "\\.nix\\'")

(use-package java-mode)
;(use-package java-mode)

(use-package java-ts-mode)

(use-package java-ts-mode)

(use-package lsp-java
:ensure t)
;; :init
;; :config
;; (add-hook 'java-mode-hook 'lsp)
;; (add-hook 'java-ts-mode-hook 'lsp)
;; (add-to-list 'lsp-language-id-configuration '(java-ts-mode . "java")))
;; (add-to-list 'lsp-language-id-configuration '(java-ts-mode . "java")))

(use-package apheleia
:ensure t
:config
(apheleia-global-mode +1)
)


;; Emacs ships with a lot of popular programming language modes. If it's not
;; built in, you're almost certain to find a mode for the language you're
Expand Down

0 comments on commit f358616

Please sign in to comment.