Skip to content

Instantly share code, notes, and snippets.

@christian-blades-cb
Created September 25, 2019 13:32
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save christian-blades-cb/b2805e74fc43a258b922e039bea1dc5d to your computer and use it in GitHub Desktop.
Save christian-blades-cb/b2805e74fc43a258b922e039bea1dc5d to your computer and use it in GitHub Desktop.
emacs lsp python
;; pip install 'python-language-server[all]'
(when (executable-find "pyls")
(add-hook 'python-mode-hook #'company-mode)
(add-hook 'python-mode-hook #'lsp))
(use-package lsp-mode
:ensure t
:hook ((rust-mode . lsp)
(go-mode . lsp)
(python-mode . lsp))
)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment