From 593de2293df36d7068ee11d306a4cce97053f368 Mon Sep 17 00:00:00 2001 From: laurensmiers Date: Thu, 21 Mar 2019 15:34:05 +0100 Subject: [PATCH] ensure eglot package + add prog-mode-hook - TODO: don't add it to prog-mode-hook, add it to c-mode-hook and others supporting LSP --- config.org | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/config.org b/config.org index cbf5baa..549846e 100644 --- a/config.org +++ b/config.org @@ -874,6 +874,7 @@ https://github.com/MaskRay/emacs-ccls https://github.com/emacs-lsp/lsp-mode https://github.com/emacs-lsp/lsp-ui https://github.com/tigersoldier/company-lsp +https://github.com/joaotavora/eglot #+BEGIN_SRC emacs-lisp (defun +ccls/enable () @@ -908,6 +909,12 @@ https://github.com/tigersoldier/company-lsp company-lsp-cache-candidates t company-lsp-async t) ) + +(use-package eglot + :ensure t + :init + (add-hook 'prog-mode-hook 'eglot-ensure) +) #+END_SRC ** (Relative) Line numbers