From 5df3de20f70aaecd44d1a71b322023bae4c11372 Mon Sep 17 00:00:00 2001 From: Jakob L. Kreuze Date: Fri, 4 Dec 2020 21:22:54 -0500 Subject: Remove the only language I was using lsp-mode for. In the future, I'll be using eglot. --- lisp/programming.el | 32 -------------------------------- 1 file changed, 32 deletions(-) (limited to 'lisp/programming.el') diff --git a/lisp/programming.el b/lisp/programming.el index 83bed87..592551e 100644 --- a/lisp/programming.el +++ b/lisp/programming.el @@ -123,35 +123,3 @@ (:map smartparens-mode-map ("C-M-o" . sp-up-sexp) ("C-M-i" . sp-backward-down-sexp))) - -(use-package lsp-ui - ;; The only reason I'm using `lsp-ui' is for integration with Flycheck. The - ;; features like lenses don't interest me. - :init - (setq lsp-ui-sideline-enable nil - lsp-ui-peek-enable nil - lsp-ui-doc-enable nil)) - -;; Disable the default machinery in `lsp-mode'. The reason I'm using the package -;; in the first place is for its ability to integrate with the other -;; programming-related packages I use. - -(use-package company-lsp - :commands company-lsp - :init - (setq company-lsp-cache-candidates 'auto)) - -(use-package lsp-mode - :init - (setq lsp-enable-xref t) - - ;; Filesystem hygene. - :init - (setq lsp-session-file "~/.cache/emacs/.lsp-session-v1" - lsp-auto-guess-root t) - - ;; Use `xref' keybindings instead of the default ones. - :bind - (:map lsp-mode-map - ("M-." . lsp-find-definition) - ("M-," . pop-tag-mark))) -- cgit v1.3