From 1086072d3df1c5d5be39c82206ea3600a7c30950 Mon Sep 17 00:00:00 2001 From: Vincent Ambo Date: Tue, 19 May 2020 14:23:59 +0100 Subject: feat(tools/emacs): Configure eglot to shut down automatically When all buffers related to a specific eglot instance are gone, eglot can shut down. --- tools/emacs/config/init.el | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'tools') diff --git a/tools/emacs/config/init.el b/tools/emacs/config/init.el index 6d276a965685..96778ef3c0c5 100644 --- a/tools/emacs/config/init.el +++ b/tools/emacs/config/init.el @@ -50,6 +50,12 @@ :config (dottime-display-mode t)) (use-package gruber-darker-theme) + +(use-package eglot + :custom + (eglot-autoshutdown t) + (eglot-send-changes-idle-time 0.3)) + (use-package ht) (use-package hydra) (use-package idle-highlight-mode :hook ((prog-mode . idle-highlight-mode))) -- cgit 1.4.1