trouble.nvim icon indicating copy to clipboard operation
trouble.nvim copied to clipboard

line number out of range: 1 past the end

Open mrusme opened this issue 3 years ago • 1 comments

After working with multiple files opened through telescope, saving all using wall and exiting NeoVim I saw the following output on the command line:

Error executing vim.schedule lua callback: ...cal/share/nvim/plugged/trouble.nvim/lua/trouble/view.lua:90: Vim:E322: line number out of range: 1 past the end
stack traceback:
	[C]: in function 'set_lines'
	...cal/share/nvim/plugged/trouble.nvim/lua/trouble/view.lua:90: in function 'render'
	...share/nvim/plugged/trouble.nvim/lua/trouble/renderer.lua:70: in function 'cb'
	...nvim/plugged/trouble.nvim/lua/trouble/providers/init.lua:69: in function 'cb'
	...lugged/trouble.nvim/lua/trouble/providers/diagnostic.lua:26: in function 'provider'
	...nvim/plugged/trouble.nvim/lua/trouble/providers/init.lua:59: in function 'get'
	...share/nvim/plugged/trouble.nvim/lua/trouble/renderer.lua:37: in function 'render'
	...cal/share/nvim/plugged/trouble.nvim/lua/trouble/view.lua:125: in function 'update'
	...cal/share/nvim/plugged/trouble.nvim/lua/trouble/init.lua:113: in function ''
	vim/_editor.lua: in function <vim/_editor.lua:0>%                                               

mrusme avatar Aug 22 '22 01:08 mrusme

Same issue.

strogonoff avatar Sep 27 '22 16:09 strogonoff

Development on the main branch is EOL.

Trouble has been rewritten and will be merged in main soon.

This issue/feature either no longer exists or has been implemented on dev.

For more info, see https://github.com/folke/trouble.nvim/tree/dev

folke avatar Mar 29 '24 07:03 folke