Closed Kamholtz closed 10 months ago
if the path returned by (vim.fn.getcwd) does not have an ancestor containing an .nfnl.fnl file, (find (vim.fn.getcwd)) will return nil, which is not a valid input to string.sub.
(vim.fn.getcwd)
(find (vim.fn.getcwd))
If I had a penny for every time I tried to concat a nil to a string in Lua... thank you very much for catching this!
if the path returned by
(vim.fn.getcwd)
does not have an ancestor containing an .nfnl.fnl file,(find (vim.fn.getcwd))
will return nil, which is not a valid input to string.sub.