fredcamps / lsp-jedi

A LSP client for Emacs using Python Jedi Language Server
GNU General Public License v3.0
47 stars 4 forks source link

lsp-origami doesn't work #8

Closed scmbradley closed 3 years ago

scmbradley commented 3 years ago

When I try to use lsp-origami-mode with lsp-jedi I get the Message:

lsp--send-request-async: The connected server(s) does not support method textDocument/foldingRange.
To find out what capabilities support your server use ‘M-x lsp-describe-session’
and expand the capabilities section

I'm not sure whether there is something wrong, or whether this issue is, in fact, a feature request...

fredcamps commented 3 years ago

@scmbradley Did you try to upgrade your lsp-mode package and load lsp-origami-mode before lsp-jedi?

scmbradley commented 3 years ago

I will experiment with this later this week and get back to you.

fredcamps commented 3 years ago

If this issue still on the way, feel free to re-open the issue @scmbradley

scmbradley commented 3 years ago

I just checked and I no longer get the error.

Folding appears to work