From 37a9f6c75492d5c958e925badfb4f95462fbab7d Mon Sep 17 00:00:00 2001 From: Adam Goldsmith Date: Fri, 7 May 2021 18:08:47 -0400 Subject: [PATCH] Don't `:ensure` lsp-mode; it's not helpful on servers --- .emacs.d/init.el | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.emacs.d/init.el b/.emacs.d/init.el index 1de62e7..98f1d9f 100644 --- a/.emacs.d/init.el +++ b/.emacs.d/init.el @@ -567,7 +567,7 @@ (use-package flycheck :ensure) -(use-package lsp-mode :ensure +(use-package lsp-mode :hook ((python-mode html-mode web-mode css-mode js2-mode typescript-mode java-mode) . lsp) :config (setq lsp-prefer-flymake nil)