copy of ST3 bugfix

https://github.com/code-orchestra/colt-sublime3-plugin/commit/839d7da3d9c7f2e7497e07f3481a7e6e0bdd6b67