You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I've also faced this issue even after adding the capabilities snippet on nvim-ufo pluggin load. For some reasons the lspconfig get available servers did not include yamlls (I added it manually with a table.insert call, but I would like to understand how could I check and properly debug the configuration loads and the plugins setups)
Neovim version (nvim -v | head -n1)
NVIM v0.9.0
Operating system/version
macOS 13.1
How to reproduce the issue
Gist containing a repro.lua, a config.yaml and the ufo.log: https://gist.github.com/Jomik/788455003c5bcc4f1741f09636570496
nvim -u repro.lua
nvim -u repro.lua config.yaml
nvim -u repro.lua config.yaml
<space>snh
to see:Error executing vim.schedule lua callback: UnhandledPromiseRejection with the reason: RPC[Error] code_name = InternalError, message = "Request textDocument/foldingRange failed with message: Cannot read properties of undefined (reading 'lineFoldingOnly')"
Expected behavior
No error, folds are found normally.
Actual behavior
UnhandledPromiseRejection error and folding does not work.
The text was updated successfully, but these errors were encountered: