languageserver
languageserver copied to clipboard
Code folding isn't working properly
trafficstars
Hi, for some reason, the code folding doesn't work properly on my side.
There's either no folding at all:

Or, folds my function but I cannot unfold it, i.e., it just hides everything in the function and seems no way to unfold the function.

Any ideas? Thanks.
And, it seems vscode starts several language servers automatically at startup. Is it normal?

I tried to use the following code in .Rprofile to disable foldingRangeProvider, but it didn't work
options(
languageserver.server_capabilities = list(
foldingRangeProvider = FALSE
)
)