-
I want to add my poetry-enabled pylsp method for poetry projects while still falling back to the built-in eglot-alternatives. I think this works, but is there a better way? (let ((replaceme (alist-get '(python-mode python-ts-mode) eglot-server-programs nil nil #'equal)))
(setf replaceme `(eglot-alternatives (list '("poetry" "run" "pylsp") replaceme)))) |
Beta Was this translation helpful? Give feedback.
Answered by
hexmode
Aug 8, 2024
Replies: 1 comment 5 replies
-
I think this doesn't work: you're just making a new cons and |
Beta Was this translation helpful? Give feedback.
5 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Thanks for this!
The following worked for me: