test
This commit is contained in:
parent
1080ada8f3
commit
842c1a95e3
1 changed files with 7 additions and 9 deletions
|
@ -4,17 +4,15 @@
|
|||
|
||||
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
|
||||
;; LSP Modules
|
||||
;; Python
|
||||
(use-package lsp-python-ms
|
||||
:ensure t
|
||||
:hook (python-mode . (lambda ()
|
||||
(require 'lsp-python-ms)
|
||||
(lsp)))
|
||||
:init
|
||||
(setq lsp-python-ms-executable (executable-find "python-lsp-server")))
|
||||
|
||||
;; Bash
|
||||
(use-package lsp-mode
|
||||
:commands lsp
|
||||
:hook
|
||||
(sh-mode . lsp))
|
||||
|
||||
;; Python
|
||||
(defun lspython ()
|
||||
"Updates the lsp-python-ms-executable variable and runs lsp."
|
||||
(interactive)
|
||||
(setq lsp-python-ms-executable (executable-find "python-lsp-server"))
|
||||
(lsp-deferred))
|
Loading…
Reference in a new issue