diff options
author | Vincent Ambo <tazjin@google.com> | 2020-05-19T13·23+0100 |
---|---|---|
committer | Vincent Ambo <tazjin@google.com> | 2020-05-19T13·23+0100 |
commit | 1086072d3df1c5d5be39c82206ea3600a7c30950 (patch) | |
tree | cc0181d7e2ab3494ab2594bd832d03645d14f70f /tools/emacs | |
parent | 62c18c989890d5aebca5315f7bf7d8a367b0a87b (diff) |
feat(tools/emacs): Configure eglot to shut down automatically r/764
When all buffers related to a specific eglot instance are gone, eglot can shut down.
Diffstat (limited to 'tools/emacs')
-rw-r--r-- | tools/emacs/config/init.el | 6 |
1 files changed, 6 insertions, 0 deletions
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))) |