diff --git a/home-manager/modules/emacs/config.org b/home-manager/modules/emacs/config.org index 82a4ec3..7e3c51f 100644 --- a/home-manager/modules/emacs/config.org +++ b/home-manager/modules/emacs/config.org @@ -1089,11 +1089,9 @@ Indent 2 spaces Prettier has my preference for formatting JavaScript and TypeScript #+begin_src emacs-lisp - (use-package prettier-js - :config - (setq prettier-js-args '("--single-quote" "true")) - :hook - (js2-mode . typescript-mode)) + (use-package prettier + :config + (global-prettier-mode)) #+end_src TypeScript stuff @@ -1185,7 +1183,7 @@ Add support for Elixir with [[https://github.com/elixir-editors/emacs-elixir][el (elixir-mode . (lambda () (add-hook 'before-save-hook 'elixir-format nil t))) (elixir-mode . eglot-ensure)) :config - (setq lsp-elixir-server-command '("elixir-ls")) + ;; (setq lsp-elixir-server-command '("elixir-ls")) (add-to-list 'auto-mode-alist '("\\.[hl]eex\\'" . elixir-mode))) #+end_src