Fix local vimrc check to use filereadable

pull/1/head
Ensar Sarajčić 2021-01-19 11:10:28 +01:00
parent 2f3a323a5c
commit ed96f72ac0
1 changed files with 1 additions and 1 deletions

View File

@ -14,7 +14,7 @@ let $LOCAL_VIMRC = $HOME."/.vimrc.local"
" - Load up plugins - " - Load up plugins -
" ----------------------------------------------------------------------------- " -----------------------------------------------------------------------------
" Use local vimrc for overrides if available and desired " Use local vimrc for overrides if available and desired
if exists($LOCAL_VIMRC) if filereadable($LOCAL_VIMRC)
source $LOCAL_VIMRC source $LOCAL_VIMRC
endif endif
source $VIMPLUGINS source $VIMPLUGINS