filabrazilska/vimerl — comment on commit d7b1da8baab88e64bf700a766611d24a45c69fc7
File:  line 0
By filabrazilska:

Tried your version (the one with s:autocmds_defined variable). There seems to be a race condition on startup: when starting vim (precisely MacVim) with multiple files using -p the autocmds get installed once for each tab. This doesn't happen if you use the exists() operator and set the variable only inside the s:EnableShowErrors() function.