yaml-companion.nvim
yaml-companion.nvim copied to clipboard
Doesn't play well when kevinhwang91/nvim-ufo is installed
I'm using kevinhwang91/nvim-ufo, and together with yaml-companion.nvim, I'm receiving these kind of errors:
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')"
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')"
[ERROR 12:07:03] .../yaml-companion.nvim/lua/yaml-companion/context/init.lua:18: bufnr=3 client_id=2 doesn't exists
[ERROR 12:07:03] .../yaml-companion.nvim/lua/yaml-companion/context/init.lua:18: bufnr=4 client_id=2 doesn't exists
[ERROR 12:07:03] .../yaml-companion.nvim/lua/yaml-companion/context/init.lua:18: bufnr=5 client_id=2 doesn't exists
[ERROR 12:07:03] .../yaml-companion.nvim/lua/yaml-companion/context/init.lua:18: bufnr=3 client_id=2 doesn't exists
[ERROR 12:07:03] .../yaml-companion.nvim/lua/yaml-companion/context/init.lua:18: bufnr=4 client_id=2 doesn't exists
[ERROR 12:07:03] .../yaml-companion.nvim/lua/yaml-companion/context/init.lua:18: bufnr=5 client_id=2 doesn't exists
Seeing the same thing as I'm running Astronvim which uses nvim-ufo.
same, i disabled ufo for this to work.