I don't understand the findfile() function in Vim-Script, what am i doing wrong?set encoding = utf-8cd %:p:hlet b:gitiginorfiles = findfile('.gitignore', system('git rev-parse --show-toplevel'), -1)My variable b:gitignorefiles is always empty.
How does the findfile() function work?
vimscript