Auto-try smerge-mode on reloading buffers
Add gyp, swig and protocol buffer modes