mirror of
https://git.sr.ht/~magic_rb/dotfiles
synced 2024-11-22 16:04:25 +01:00
Disable more lsp-mode features
Signed-off-by: Magic_RB <magic_rb@redalder.org>
This commit is contained in:
parent
40f0410356
commit
75fd756022
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue