a line in file init.lua says "require('domain.file')". If I cd nvim/ && nvim init.lua and then gf on that line, nvim opens an empty buffer. But, if instead I cd nvim/lua/ then gf works exactly as expected.
This difference is because nvim/lua/ is not in my package.path. My question is, should it be (and i'm failing) or is this expected?
thank you for this v helpful plugin.
with the following hiearchy:
a line in file init.lua says "require('domain.file')". If I
cd nvim/ && nvim init.lua
and thengf
on that line, nvim opens an empty buffer. But, if instead Icd nvim/lua/
thengf
works exactly as expected.This difference is because nvim/lua/ is not in my package.path. My question is, should it be (and i'm failing) or is this expected?