From b996b7df86257f2d31c95988525ee6fb47f32079 Mon Sep 17 00:00:00 2001 From: Anthony Rodriguez Date: Fri, 5 Jul 2024 21:41:47 +0200 Subject: [PATCH] Update .emacs.d/README.org --- private_dot_emacs.d/README.org | 22 ++-------------------- 1 file changed, 2 insertions(+), 20 deletions(-) diff --git a/private_dot_emacs.d/README.org b/private_dot_emacs.d/README.org index 08cc2f2..a0d40b0 100644 --- a/private_dot_emacs.d/README.org +++ b/private_dot_emacs.d/README.org @@ -237,7 +237,8 @@ Eglot is a built in LSP client for Emacs. I prefer it to LSP as it's more lightw ("C-c l r" . eglot-rename) ("C-c l f" . eglot-format-buffer)) :hook ((tsx-ts-mode . eglot-ensure) - (typescript-ts-mode . eglot-ensure))) + (typescript-ts-mode . eglot-ensure) + (electric-pair-mode))) (setq-default eglot-workspace-configuration '(:typescript (:format (:indentSize 2 :convertTabsToSpaces t @@ -309,25 +310,6 @@ Tree-sitter is a built-in Emacs package that allows us to have extremely well in (add-to-list 'auto-mode-alist '("\\.tsx\\'" . tsx-ts-mode)) #+end_src -*** Alapheia -#+begin_src emacs-lisp - (use-package apheleia - :ensure t - :config - (apheleia-global-mode +1) - (setf (alist-get 'prettier apheleia-formatters) - '(npx "prettier" file)) - (setf (alist-get 'prettier-typescript apheleia-formatters) - '(npx "prettier" file))) - (use-package dtrt-indent) -#+end_src - -** expand-region -#+begin_src emacs-lisp - (use-package expand-region - :bind ("C-=" . er/expand-region)) -#+end_src - * Mail #+begin_src emacs-lisp (autoload 'notmuch "notmuch" "notmuch mail" t)