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
|
;; 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
|
;; Bash
|
||||||
(use-package lsp-mode
|
(use-package lsp-mode
|
||||||
:commands lsp
|
:commands lsp
|
||||||
:hook
|
:hook
|
||||||
(sh-mode . lsp))
|
(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