nvim-config-local
nvim-config-local copied to clipboard
config doesn't autoload when opening a directory with vim
As in the title the plugin doesn't autoload when starting a dir with nvim "nvim ." or "nvim /dir/dir/dir"
it does in fact work when im using "nvim file.ext" "nvim ./file.ext" and "nvim /dir/dir/dir/file.ext"
i tried to fix it on my fork and changing findfile()
in M.lookup()
function file :
"." and ";."
to
vim.fn.getcwd()
and ";" .. vim.fn.getcwd()
it might be my config error (or i shouldn't open directories in nvim?)