copy of ST3 bugfix

https://github.com/code-orchestra/colt-sublime3-plugin/issues/7