From 14476b0e37836d0aa8d2c9c3bf02dcaad32c1be6 Mon Sep 17 00:00:00 2001 From: Matthew Lemon Date: Wed, 23 Nov 2022 17:10:19 +0000 Subject: installed elglot for lsp --- init.el | 26 +++++++++++++++----------- 1 file changed, 15 insertions(+), 11 deletions(-) (limited to 'init.el') diff --git a/init.el b/init.el index a200f34..c49f2b0 100644 --- a/init.el +++ b/init.el @@ -221,6 +221,10 @@ Restart works only on graphic display." ;; PACKAGES +;; eglot language server protocol client +(use-package eglot + :ensure t) + ;; emacs-async - for helm (use-package async :ensure t) @@ -638,18 +642,18 @@ If failed try to complete the common part with `company-complete-common'" :config (winner-mode 1)) -;; elpy for python -(use-package elpy - :ensure t - :config - (setq elpy-modules (delq 'elpy-module-flymake elpy-modules)) - (add-hook 'elpy-mode-hook 'flycheck-mode) - :init - (elpy-enable)) +;; ;; elpy for python +;; (use-package elpy +;; :ensure t +;; :config +;; (setq elpy-modules (delq 'elpy-module-flymake elpy-modules)) +;; (add-hook 'elpy-mode-hook 'flycheck-mode) +;; :init +;; (elpy-enable)) -(when (load "flycheck" t t) -(setq elpy-modules (delq 'elpy-module-flymake elpy-modules)) -(add-hook 'elpy-mode-hook 'flycheck-mode)) +;; (when (load "flycheck" t t) +;; (setq elpy-modules (delq 'elpy-module-flymake elpy-modules)) +;; (add-hook 'elpy-mode-hook 'flycheck-mode)) ;; Ace Window (use-package ace-window -- cgit v1.2.3