You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Beacon was working fine until I added the Neovim-Project plugin. Now, when I open a project, it seems like Beacon can't find the buffer and displays an error. Here is the Neovim-Project plugin:
The problem is the incorrect buffer id of beacon's fake buffer that it uses to play the animation, in beacon.lua, l.31:
local fake_buffer = vim.api.nvim_create_buf(false, true)
local function create_window(cfg)
local window = vim.api.nvim_open_win(fake_buffer, false, { -- <-- fake_buffer is off if session was loaded with at least one buffer
relative = 'cursor',
row = 0,
col = 0,
width = cfg.width,
height = 1,
style = 'minimal',
focusable = false,
noautocmd = true,
})
My workaround is to lazy-load beacon on the "CursorMoved" event, and I haven't encountered any issues so far:
Beacon was working fine until I added the Neovim-Project plugin. Now, when I open a project, it seems like Beacon can't find the buffer and displays an error. Here is the Neovim-Project plugin:
https://github.com/coffebar/neovim-project
and here is the error that I am getting on ever movement of the cursor in a bugger:
The text was updated successfully, but these errors were encountered: