Closed clarkezone closed 1 year ago
@Darkclainer any ideas (per other issue)
Please use dapui
with hash 6b6081ad244ae5aa1358775cc3c08502b04368f9
atm. There were some API changes from dapui
on 26/Jan.
I couldn't find if it's possible to specify a commit hash via packer.use hence tried to do it manually but no dice:
nvim-dap-ui git:(master) pwd
/home/james/.local/share/nvim/site/pack/packer/start/nvim-dap-ui
➜ nvim-dap-ui git:(master) git show 6b6081ad244ae5aa1358775cc3c08502b04368f9
fatal: bad object 6b6081ad244ae5aa1358775cc3c08502b04368f9
➜ nvim-dap-ui git:(master)
Appols, I'm a Neovim nube at this point
In fact, packer has a version
field to specify the version to be installed. But I tried it today and this feature seems not working.
Also packer may only truncate the version to the latest versions of the plugin.
So one workaround is do a git clone
of dapui
into /home/james/.local/share/nvim/site/pack/packer/start/nvim-dap-ui
folder manually.
And check out the hash.
FYI, please update the dap-ui to latest version. The issue was fixed in 3.2.3 version
Bingo.. that fixed it thanks!
OS:
Neovim Version
Configuration:
Repro steps:
:PackerSync
:GoInstallBinaries
import "fmt"
func main() {
}
Error executing Lua callback: ...ck/packer/start/nvim-dap-ui/lua/dapui/windows/layout.lua:37: Invalid buffer id: 4 stack traceback: [C]: in function 'nvim_set_current_buf' ...ck/packer/start/nvim-dap-ui/lua/dapui/windows/layout.lua:37: in function 'open' ...im/site/pack/packer/start/nvim-dap-ui/lua/dapui/init.lua:354: in function 'cb' ...im/site/pack/packer/start/nvim-dap-ui/lua/dapui/init.lua:280: in function 'keep_cmdheight' ...im/site/pack/packer/start/nvim-dap-ui/lua/dapui/init.lua:332: in function 'open' ...share/nvim/site/pack/packer/start/go.nvim/lua/go/dap.lua:358: in function 'run' .../nvim/site/pack/packer/start/go.nvim/lua/go/commands.lua:62: in function <.../nvim/site/pack/packer/start/go.nvim/lua/go/commands.lua:57> Press ENTER or type command to continue