about summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorDavid Morgan <djm_uk@protonmail.com>2024-09-20 11:13:34 +0000
committerDavid Morgan <djm_uk@protonmail.com>2024-09-20 11:13:34 +0000
commitb9465603d2a754fbd1355c0e8d9e25471f477f68 (patch)
tree05b457de78b81e1948e2d8f0ff7571ff854258a5
parentfabd969791e4a6709be1cc0833eaf03a6ee24bb6 (diff)
downloaddotfiles-b9465603d2a754fbd1355c0e8d9e25471f477f68.tar.gz
Automatically save buffers after lsp refactorings
-rw-r--r--.emacs.d/lisp/init-lsp.el1
1 files changed, 1 insertions, 0 deletions
diff --git a/.emacs.d/lisp/init-lsp.el b/.emacs.d/lisp/init-lsp.el
index e496813..49ff138 100644
--- a/.emacs.d/lisp/init-lsp.el
+++ b/.emacs.d/lisp/init-lsp.el
@@ -26,6 +26,7 @@
   (lsp-lens-mode . really-diminish-lsp-lens-mode)
   (lsp-completion-mode . my/lsp-mode-setup-completion)
   (sql-mode . lsp)
+  (lsp-after-apply-edits . save-buffer)
   :config
   (defun really-diminish-lsp-lens-mode ()
     (diminish 'lsp-lens-mode)