Update .emacs.d/README.org

This commit is contained in:
Anthony Rodriguez 2024-07-05 23:32:56 +02:00
parent 70c70ab401
commit a39de9d630

View file

@ -249,7 +249,9 @@ Eglot is a built in LSP client for Emacs. I prefer it to LSP as it's more lightw
:hook ((tsx-ts-mode . eglot-ensure)
(typescript-ts-mode . eglot-ensure)
(python-ts-mode . eglot-ensure)
(eglot-mode . electric-pair-mode)))
(eglot--managed-mode . electric-pair-mode)
(eglot--managed-mode . (lambda ()
(add-hook 'after-save-hook #'eglot-format-buffer nil t)))))
(setq-default eglot-workspace-configuration '(:typescript (:format (:indentSize 2
:convertTabsToSpaces t