-
Notifications
You must be signed in to change notification settings - Fork 0
Open
Description
This happens on every file opening:
Error detected while processing BufNewFile Autocommands for "*":
Error executing lua callback: ...en/.local/share/nvim/lazy/NvChad/lua/nvchad/autocmds.lua:7: Invalid buffer id: 1
stack traceback:
[C]: in function 'nvim_buf_get_name'
...en/.local/share/nvim/lazy/NvChad/lua/nvchad/autocmds.lua:7: in function <...en/.local/share/nvim/lazy/NvChad/lua/nvchad/autocmds.lua:6>
but cursor positioning is alright after error message is dismissed.
While the traceback is raised not within your plugin, it is the root cause for it.
Just guessing: maybe buffer id should be 0.
Metadata
Metadata
Assignees
Labels
No labels