Bump :lang python
cython/cython@5d8527d -> cython/cython@0208bf2 emacs-lsp/lsp-pyright@f85ad03 -> emacs-lsp/lsp-pyright@3cf2e8f emacs-lsp/lsp-python-ms@d42ffc2 -> emacs-lsp/lsp-python-ms@7a502e6 galaunay/poetry.el@d876522 -> galaunay/poetry.el@22a76cd pythonic-emacs/anaconda-mode@6094ded -> pythonic-emacs/anaconda-mode@73266a4 wbolster/emacs-python-pytest@dd05959 -> wbolster/emacs-python-pytest@6a3b4e5
This commit is contained in:
parent
39344dee79
commit
d39bd90106
2 changed files with 7 additions and 16 deletions
|
@ -319,16 +319,7 @@ called.")
|
|||
:after lsp-clients
|
||||
:preface
|
||||
(after! python
|
||||
(setq lsp-python-ms-python-executable-cmd python-shell-interpreter))
|
||||
:init
|
||||
;; HACK If you don't have python installed, then opening python buffers with
|
||||
;; this on causes a "wrong number of arguments: nil 0" error, because of
|
||||
;; careless usage of `cl-destructuring-bind'. This silences that error,
|
||||
;; since we may still want to write some python on a system without
|
||||
;; python installed!
|
||||
(defadvice! +python--silence-errors-a (orig-fn &rest args)
|
||||
:around #'lsp-python-ms--extra-init-params
|
||||
(ignore-errors (apply orig-fn args))))
|
||||
(setq lsp-python-ms-python-executable-cmd python-shell-interpreter)))
|
||||
|
||||
(use-package! lsp-pyright
|
||||
:when (featurep! +pyright)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue