From 87975591aa4872f3236614da7f7045bc0a69dc24 Mon Sep 17 00:00:00 2001 From: Ivan Malison Date: Fri, 7 Dec 2018 14:38:45 -0800 Subject: [PATCH] [Emacs] Update lsp configuration --- dotfiles/emacs.d/README.org | 12 ++++-------- 1 file changed, 4 insertions(+), 8 deletions(-) diff --git a/dotfiles/emacs.d/README.org b/dotfiles/emacs.d/README.org index 488bcd72..4f318716 100644 --- a/dotfiles/emacs.d/README.org +++ b/dotfiles/emacs.d/README.org @@ -3971,16 +3971,12 @@ emr (emacs refactor) provides support for refactoring in many programming langua #+END_SRC ** language-server-protocol (lsp) #+BEGIN_SRC emacs-lisp -(use-package lsp-ui - :config - (progn - (add-hook 'lsp-mode-hook 'lsp-ui-mode) - (progn - (require 'lsp-ui-flycheck)))) - (use-package lsp-mode :commands lsp-mode - :init (add-hook 'prog-major-mode 'lsp-mode)) + :config + (progn + (require 'lsp-clients) + (add-hook 'programming-mode-hook 'lsp))) #+END_SRC * Utility ** term