Skip to content

Extending built-in python methods by prefixing eglot-alternatives #1432

Answered by hexmode
hexmode asked this question in Q&A
Discussion options

You must be logged in to vote

Thanks for this!

The following worked for me:

  (setcdr (cl-find 'python-mode eglot-server-programs
            :key (lambda (a) (ensure-list (car a)))
            :test #'memq)
    (eglot-alternatives '(("poetry" "run" "pylsp"))))

Replies: 1 comment 5 replies

Comment options

You must be logged in to vote
5 replies
@hexmode
Comment options

@hexmode
Comment options

@joaotavora
Comment options

@hexmode
Comment options

Answer selected by hexmode
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants