-
Notifications
You must be signed in to change notification settings - Fork 11
Open
Description
I'm using lf.nvim and after the latest update and neovim version, it seems the behavior for vim.fn.termopen has changed which results in an error from toggleterm.nvim:
Error executing Lua callback: Vim:E475: Invalid argument: expected valid directory
stack traceback:
[C]: in function 'termopen'
...packer/start/toggleterm.nvim/lua/toggleterm/terminal.lua:404: in function '__spawn'
...packer/start/toggleterm.nvim/lua/toggleterm/terminal.lua:477: in function 'spawn'
...packer/start/toggleterm.nvim/lua/toggleterm/terminal.lua:495: in function 'open'
...hare/nvim/site/pack/packer/start/lf.nvim/lua/lf/main.lua:128: in function 'start'
...cal/share/nvim/site/pack/packer/start/lf.nvim/lua/lf.lua:127: in function 'start'
...cal/share/nvim/site/pack/packer/start/lf.nvim/lua/lf.lua:37: in function <...cal/share/nvim/site/pack/packer/start/lf.nvim/lua/lf.lua:36>
This happens if I open neovim just by nvim and not specifying any directory path as argument. Could it be that lf.nvim is passing an empty string to toggleterm for the directory to open the terminal at?
Metadata
Metadata
Assignees
Labels
No labels