3 ms·
Why not check for file existance, instead of try-catch: if filereadable(expand("~/.vimlocal")) source ~/.vimlocal endif
by uniqueusername1 11y ago
Why not check for file existance, instead of try-catch:
if filereadable(expand("~/.vimlocal"))
source ~/.vimlocal
endif
- dllthomas 11y agoI've no strong objection to that - it's racy but not in any way that probably matters. Otherwise, it's mostly just a question of forgiveness vs permission...