Closed Fau818 closed 1 year ago
After I updated to the latest version and executed the command, it threw some errors. Then the command worked correctly.
Error executing Lua callback: ...cker/start/code_runner.nvim/lua/code_runner/commands.lua:177: attempt to index global 'opt' (a nil value)
stack traceback:
...cker/start/code_runner.nvim/lua/code_runner/commands.lua:177: in function 'call_mode'
...cker/start/code_runner.nvim/lua/code_runner/commands.lua:196: in function 'run_mode'
...cker/start/code_runner.nvim/lua/code_runner/commands.lua:274: in function <...cker/start/code_runner.nvim/lua/code_runner/commands.lua:271>
...e/pack/packer/start/code_runner.nvim/lua/code_runner.lua:78: in function <...e/pack/packer/start/code_runner.nvim/lua/code_runner.lua:77>
Thank you very much for your efforts, it works very well.
Description
If I use
RunProject
command in a project, it works well.But if I use
RunProject <mode>
, it does not work, e.g.RunProject toggleterm
.Vim Version
NVIM v0.8.1 Build type: Release LuaJIT 2.1.0-beta3