one-small-step-for-vimkind
one-small-step-for-vimkind copied to clipboard
Customizable command to launch nvim
In the latest nightly build NVIM v0.7.0-dev+667-g419e0d117d
:lua require"osv".run_this() or :lua require"osv".launch() results in the following error
E5108: Error executing lua Vim:Error invoking 'nvim_exec_lua' on channel 10:
Error executing lua: [string "<nvim>"]:1: module 'osv' not found: no field package.preload['osv'] no file './osv.lua' no file '/usr/share/luajit-2.0.5/osv.lua' no file '/usr/local/share/lua/5.1/osv.lua' no file '/usr/local/share/lua/5.1/osv/init.lua' no file '/usr/share/lua/5.1/osv.lua' no file '/usr/share/lua/5.1/osv/init.lua' no file './osv.so' no file '/usr/local/lib/lua/5.1/osv.so' no file '/usr/lib/lua/5.1/osv.so' no file '/usr/local/lib/lua/5.1/loadall.so'stack traceback: [C]: in function 'require' [string "<nvim>"]:1: in main chunkstack traceback: [C]: in function 'rpcrequest' ...packer/start/one-small-step-for-vimkind/lua/osv/init.lua:706: in function 'run_this' [string ":lua"]:1: in main chunk
I just realized that I use nvim -u ${CONFIG_FILE} command, so the bare nvim could not find the module.
An way to customize the launch command would be helpful in this case.
Same happens in my setup. I'm using LunarVim, which by default provides a configuration file
Did anyone get this solved using LunarVim?
i met the same problem.