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
I have updated the plugin to the latest version before submitting this issue
I have searched the existing issues of trouble.nvim
I have searched the existing issues of plugins related to this issue
Neovim version (nvim -v)
NVIM v0.11.0-dev-825+gd831392b1
Operating system/version
Arch Linux
Describe the bug
Typing :Trouble <tab> triggers completion as expected. Typing :Tr <tab> (i.e. the shortest unique prefix of Trouble, typing :Tr<tab> completes :Trouble), then the following error is thrown:
E5108: Error executing Lua function: ...are/nvim/lazy/trouble.nvim/lua/trouble/config/parser.lua:23: attempt to index local 'input' (a nil value)
stack traceback:
...are/nvim/lazy/trouble.nvim/lua/trouble/config/parser.lua:23: in function 'parse'
...cal/share/nvim/lazy/trouble.nvim/lua/trouble/command.lua:86: in function 'parse'
...cal/share/nvim/lazy/trouble.nvim/lua/trouble/command.lua:12: in function <...cal/share/nvim/lazy/trouble.nvim/lua/trouble/command.lua:10>
Steps To Reproduce
Type :Tr <tab>
Expected Behavior
Completion should work even if an abbreviated prefix of the command is used.
Repro
vim.env.LAZY_STDPATH=".repro"load(vim.fn.system("curl -s https://raw.githubusercontent.com/folke/lazy.nvim/main/bootstrap.lua"))()
require("lazy.minit").repro({
spec= {
{ "folke/trouble.nvim", opts= {} },
-- add any other plugins here
},
})
The text was updated successfully, but these errors were encountered:
Did you check docs and existing issues?
Neovim version (nvim -v)
NVIM v0.11.0-dev-825+gd831392b1
Operating system/version
Arch Linux
Describe the bug
Typing
:Trouble <tab>
triggers completion as expected. Typing:Tr <tab>
(i.e. the shortest unique prefix ofTrouble
, typing:Tr<tab>
completes:Trouble
), then the following error is thrown:Steps To Reproduce
Type
:Tr <tab>
Expected Behavior
Completion should work even if an abbreviated prefix of the command is used.
Repro
The text was updated successfully, but these errors were encountered: