emacs-lsp / lsp-mode

Emacs client/library for the Language Server Protocol
https://emacs-lsp.github.io/lsp-mode
GNU General Public License v3.0
4.72k stars 860 forks source link

Additional custom variables for pylsp concerning rope-autoimport #4481

Closed rainij closed 3 days ago

rainij commented 1 week ago

Pylsp supports rope-autoimport (see here). In principle one can enable completions and code actions individually. Currently the respective variables are not exposed by lsp-mode. This PR changes this by adding two additional custom variables.

rainij commented 1 week ago

This PR is motivated by my question on stackoverflow.

jcs090218 commented 3 days ago

LGTM! Thank you!