I have functions inside my .vimrc file and want to test that this function is doing what I want it to do. I want to know if there is a rapid way to unit test a function within .vimrc.
my function looks like:
fun! FindPythonMainFile(filename, )
let file = findfile(filename)
if (file)
echo "file exists"
else
echo "file doesn't exists"
endif
endf
best regard.