yaml-companion.nvim icon indicating copy to clipboard operation
yaml-companion.nvim copied to clipboard

Doesn't play well when kevinhwang91/nvim-ufo is installed

Open rafi opened this issue 1 year ago • 3 comments

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

rafi avatar Jun 29 '23 09:06 rafi

Seeing the same thing as I'm running Astronvim which uses nvim-ufo.

windowsrefund avatar Oct 13 '23 05:10 windowsrefund

same, i disabled ufo for this to work.

szechp avatar Dec 18 '23 12:12 szechp