yaml-language-server
yaml-language-server copied to clipboard
Getting a possible bug using Neovim when opening a .yml file
Summary
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 undefine
d (reading 'lineFoldingOnly')"
Relevant information
I'm using Neovim and when I open a .yml file I get this error. I'm having a hard time figuring out where it comes from but I think it's from yaml-language-server. Is this possible?
Yes. It looks like it is coming from the yaml-language-server. I suspect that neovim is sending the FoldingRange Capabilities in a way the server is not expecting.
Ok, thank you @gorkem