summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMatthew Lemon <matt@matthewlemon.com>2022-12-13 15:58:41 +0000
committerMatthew Lemon <matt@matthewlemon.com>2022-12-13 15:58:41 +0000
commita60a38e97c4bb77b56ffbd8eebdefc450b5a53f2 (patch)
treed9e4402cb4cd8fa90b8d5e1a398dfb265fc47563
parent95797bfe2cc1898eb044c6d6758a7db08614d82b (diff)
eglot starts with python-mode
-rw-r--r--init.el3
1 files changed, 2 insertions, 1 deletions
diff --git a/init.el b/init.el
index d442d95..b7075cf 100644
--- a/init.el
+++ b/init.el
@@ -604,7 +604,8 @@ Restart works only on graphic display."
;; eglot language server protocol client
(use-package eglot
- :ensure t)
+ :ensure t
+ :hook (python-mode . eglot-ensure))
;; emacs-async - for helm
(use-package async