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
If I haven't launched Trouble before and I launch TodoTrouble, it launches Trouble with all files in the cwd. However, if Trouble has already been launched, TodoTrouble will throw an error, saying that the buffer ID is invalid. In other words, TodoTrouble is not working.
The error I get after launching Trouble, then TodoTrouble: Error executing vim.schedule lua callback: ...myNeovimPackages/start/trouble.nvim/lua/trouble/view.lua:452: Vim(luafile):E5113: Error while calling lua chunk: ...start/todo-comments.nvim/lua/todo-comments/highlight.lua:284: Invalid buffer id: 17
OS: NixOS Unstable
Neovim: Nightly
I'm lazyloading the plugin on BufRead and BufNewFile using autocmds that run packadd and luafile.
I can try to provide more details as necessary.
EDIT: After hitting enter on the error, TodoTrouble launches as usual. However, if I close it and launch it again after that, the same issue will happen as if I launched it before launching Trouble (it launches Trouble with all files in cwd).
EDIT 2: It seems that it always throws an Invalid buffer id error, and the ID is always the same as the newest buffer's ID + 1. I've tested this after opening one buffer, as well as after opening multiple buffers.
EDIT 3: The problem goes away entirely if I stop lazyloading the plugins (todo-comments and trouble), but I want to lazyload to keep loading times down. If I find a fix, I'll relay.
The text was updated successfully, but these errors were encountered:
I found out that the way NixOS handles plugins incorrectly, so the issue may be on my end. I'll update if I find any new info. In the meantime, thanks!
If I haven't launched Trouble before and I launch TodoTrouble, it launches Trouble with all files in the cwd. However, if Trouble has already been launched, TodoTrouble will throw an error, saying that the buffer ID is invalid. In other words, TodoTrouble is not working.
The error I get after launching Trouble, then TodoTrouble:
Error executing vim.schedule lua callback: ...myNeovimPackages/start/trouble.nvim/lua/trouble/view.lua:452: Vim(luafile):E5113: Error while calling lua chunk: ...start/todo-comments.nvim/lua/todo-comments/highlight.lua:284: Invalid buffer id: 17
OS: NixOS Unstable
Neovim: Nightly
I'm lazyloading the plugin on BufRead and BufNewFile using autocmds that run packadd and luafile.
I can try to provide more details as necessary.
EDIT: After hitting enter on the error, TodoTrouble launches as usual. However, if I close it and launch it again after that, the same issue will happen as if I launched it before launching Trouble (it launches Trouble with all files in cwd).
EDIT 2: It seems that it always throws an
Invalid buffer id
error, and the ID is always the same as the newest buffer's ID + 1. I've tested this after opening one buffer, as well as after opening multiple buffers.EDIT 3: The problem goes away entirely if I stop lazyloading the plugins (todo-comments and trouble), but I want to lazyload to keep loading times down. If I find a fix, I'll relay.
The text was updated successfully, but these errors were encountered: