I open vim with
vim -u NONE <filename>, so this ensures that the error is not due to vimrc or plugins. I use
checkpath! to dump all files which are present in the path.
:set path? path=.,/usr/include,,,~/main :checkpath! No files included :set path=~/main/** path=~/main/** :checkpath! No files included
$ ls -lR ~/main | wc -l 459590
Any suggestions to find why vim can't find the files in the path.