Rust-analyzer `textDocument/foldingRange`?

Hi y'all,

I would like to start using Focus on Emacs, which also has LSP-Focus for LSPs. The latter uses textDocument/foldingRange to function, as mentioned in the README:

lsp-focus provides support for focus.el using language server protocol’s textDocument/foldingRange functionality.

However, when I enable the mode, I get this message from LSP-mode:

Capability not supported by the language server: "foldingRangeProvider"

Upon further digging, though, I see that rust-analyzer supports folding ranges? Am I doing something wrong?

This topic was automatically closed 90 days after the last reply. We invite you to open a new topic if you have further questions or comments.