[Emacs] Update lsp configuration

This commit is contained in:
Ivan Malison 2018-12-07 14:38:45 -08:00
parent 4162c9ca3b
commit 87975591aa
No known key found for this signature in database
GPG Key ID: 62530EFBE99DC2F8

View File

@ -3971,16 +3971,12 @@ emr (emacs refactor) provides support for refactoring in many programming langua
#+END_SRC #+END_SRC
** language-server-protocol (lsp) ** language-server-protocol (lsp)
#+BEGIN_SRC emacs-lisp #+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 (use-package lsp-mode
:commands 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 #+END_SRC
* Utility * Utility
** term ** term