diff options
| author | Thomas Schneider <qsx@chaotikum.eu> | 2019-10-07 18:02:44 +0200 |
|---|---|---|
| committer | Thomas Schneider <qsx@chaotikum.eu> | 2019-10-07 18:02:44 +0200 |
| commit | 40dc3fe646d399deec916edc102f892ac4f61574 (patch) | |
| tree | d7f9b69905cb458ce7344e66b7353b7c5966f26a /dot.emacs.d/init.el | |
| parent | 86842b92b56548f97fffef391f887e61ce8d287b (diff) | |
Emacs: Install lsp and related packages
Diffstat (limited to 'dot.emacs.d/init.el')
| -rw-r--r-- | dot.emacs.d/init.el | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/dot.emacs.d/init.el b/dot.emacs.d/init.el index e5a12a3..889ddb6 100644 --- a/dot.emacs.d/init.el +++ b/dot.emacs.d/init.el @@ -110,12 +110,19 @@ :config (add-to-list 'company-backends 'company-ansible)) (use-package company-shell :config (add-to-list 'company-backends '(company-shell company-shell-env))) +(use-package company-lsp) (semantic-mode 1) (use-package srefactor :bind (:map c-mode-map ("M-RET" . #'srefactor-refactor-at-point))) +(use-package lsp-mode + :commands lsp + :config (require 'lsp-clients)) + +(use-package lsp-ui) + (use-package mercurial :ensure nil :bind-keymap ("C-c H" . hg-global-map)) @@ -256,6 +263,7 @@ (use-package toml-mode) (use-package rust-mode + :hook (rust-mode . lsp) :mode "\\.rs\\'") ;; Add keybindings for interacting with Cargo (use-package cargo |
