Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
uniqueusername1
on Oct 10, 2015
|
parent
|
context
|
favorite
| on:
A Good Vimrc
Why not check for file existance, instead of try-catch:
if filereadable(expand("~/.vimlocal")) source ~/.vimlocal endif
dllthomas
on Oct 10, 2015
[–]
I'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...
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search: