Closed zbindenren closed 2 years ago
tail -f ~/.cache/nvim/ufo.log
mul clients issue. Thanks, I should add a simple selector.
No idea why your .../NEOGIT_COMMIT_EDITMSG
file will ask gopls
, this buffer shouldn't be attached, may something is wrong with your neogit config.
NeogitCommitMessage
as ft instead
@kevinhwang91 I'm getting a similar error message:
Error executing vim.schedule lua callback: UnhandledPromiseRejection with the reason:
.../site/pack/packer/start/nvim-ufo/lua/ufo/fold/buffer.lua:192: Invalid buffer id: 1
by disabling all the providers:
require("ufo").setup({
open_fold_hl_timeout = 0,
provider_selector = function(bufnr, filetype)
-- return empty string '' will disable any providers
return ''
end
})
@stevanmilic fixed now. but not relate to this issue. UnhandledPromiseRejection
means throwing errors in promise body.
ping me if has new info
Neovim version (nvim -v | head -n1)
NVIM v0.7.2
Operating system/version
arch linux
How to reproduce the issue
Expected behavior
No error.
Actual behavior
I still get the error:
Not sure what I am doing wrong.