Added simple file readable check

This commit is contained in:
Karl Yngve Lervåg 2013-12-26 12:19:53 +01:00
parent ad4525689e
commit a39f44e72d

View File

@ -238,6 +238,13 @@ endfunction
" {{{1 s:get_main_recurse
function! s:get_main_recurse(file)
"
" Check if file is readable
"
if !filereadable(a:file)
return 0
endif
"
" Check if current file is a main file
"