From 88999b818b4bcec4956d38828e8926ece8a1801d Mon Sep 17 00:00:00 2001 From: elkowar <5300871+elkowar@users.noreply.github.com> Date: Mon, 9 Nov 2020 00:35:50 +0100 Subject: [PATCH] Add lsp shit to emacs --- files/.emacs.d/config.org | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) diff --git a/files/.emacs.d/config.org b/files/.emacs.d/config.org index 2f9bfc1..8cc0fb1 100644 --- a/files/.emacs.d/config.org +++ b/files/.emacs.d/config.org @@ -471,6 +471,31 @@ because rainbows are fancy! * Language support + +** LSP-mode + +#+begin_src emacs-lisp + + (use-package lsp-mode + :hook (;; replace XXX-mode with concrete major-mode(e. g. python-mode) + (rustic . lsp) + (lsp-mode . lsp-enable-which-key-integration)) + :commands lsp) + + (use-package company) + (use-package lsp-ui :commands lsp-ui-mode) + (use-package lsp-ivy :commands lsp-ivy-workspace-symbol) + (use-package lsp-treemacs :commands lsp-treemacs-errors-list) + (use-package dap-mode) + ;; (use-package dap-LANGUAGE) to load the dap adapter for your language +#+end_src + +** Rust + +#+begin_src emacs-lisp + (use-package rustic) +#+end_src + ** Lisp *** parinfer