Disable more lsp-mode features

Signed-off-by: Magic_RB <magic_rb@redalder.org>
This commit is contained in:
Magic_RB 2023-02-02 10:17:23 +01:00
parent 40f0410356
commit 75fd756022
No known key found for this signature in database
GPG key ID: 08D5287CC5DDCA0E

View file

@ -8,10 +8,13 @@
#
# SPDX-License-Identifier: LGPL-3.0-or-later
Disable server downloading suggestions.
Disable server downloading suggestions, and other features.
#+begin_src emacs-lisp
(setq lsp-enable-suggest-server-download nil)
(setq lsp-enable-suggest-server-download nil
lsp-enable-snippet nil
lsp-enable-dap-auto-configure nil
lsp-enable-on-type-formatting nil)
#+end_src
* Python
@ -30,7 +33,7 @@ Using the Microsoft language server as it's the best afaik. It's weird because i
(use-package lsp-python-ms
:straight t
:after (lsp-mode)
:hook (python-mode . magic_rb/locate-python-executable-lsp-deffere)
:hook (python-mode . magic_rb/locate-python-executable-lsp-deffered)
:config
(defvar-local lsp-python-ms-executable ""))
#+END_SRC