Browse Source

Clean up some LSP commons

master
Julio Biason 4 years ago
parent
commit
1e5082fc68
  1. 20
      emacs.d/init.el

20
emacs.d/init.el

@ -60,17 +60,23 @@
:hook ((python-mode . lsp)
(rust-mode . lsp))
:commands lsp
:init (global-unset-key "\C-l")
:init (setq lsp-keymap-prefix "C-l")
:hook (lsp-mode . lsp-enable-which-key-integration)
(rust-mode . lsp)
(python-mode . lsp)
:config
(setq lsp-enable-indentation t
lsp-enable-on-type-formatting t
lsp-keymap-prefix "C-l")
(add-hook 'lsp-mode-hook #'lsp-enable-which-key-integration))
lsp-enable-on-type-formatting t)
:commands lsp)
(use-package lsp-ui
:commands lsp-ui-mode
;; (use-package lsp-ui
;; :commands lsp-ui-mode
;; :ensure t
;; :config (setq lsp-ui-sideline-show-diagnostics t))
(use-package lsp-ivy
:ensure t
:config (setq lsp-ui-sideline-show-diagnostics t))
:commands lsp-ivy-workspace-symbol)
;; Markdown mode
(use-package markdown-mode

Loading…
Cancel
Save