From de01ff727cfea26462b80ef860f7b58d15c08a07 Mon Sep 17 00:00:00 2001 From: Tobias Ostner Date: Tue, 8 Aug 2023 14:21:41 +0200 Subject: [PATCH] shutdown eglot when no relevant buffers are open anymore --- .emacs.d/init.el | 1 + 1 file changed, 1 insertion(+) diff --git a/.emacs.d/init.el b/.emacs.d/init.el index 8fc3daa..f591d08 100644 --- a/.emacs.d/init.el +++ b/.emacs.d/init.el @@ -186,6 +186,7 @@ :hook (swift-mode . eglot-ensure) :config + (setq eglot-autoshutdown t) (add-to-list 'eglot-server-programs '(swift-mode . ("/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/sourcekit-lsp"))))