vim-lua-inspect
vim-lua-inspect copied to clipboard
Lua inspect seems not to search in current working directory
I have some Lua scripts with relative paths in it:
require "Scripts/Foo/Bar"
class 'BarClass' (FooClass)
...
Usually I cd into the top most directory, e.g. ~/Developer/Foo which contains Scripts as subdirectory, where also Foo/Bar is located. However, when luainspect parses my file, it states, that FooClass is unknown. When I use luainspect from the command line directly it works.