When editing Go code, Sublime has started offering me Scala snippets. For example, if I type def, it will offer a snippet that inserts:
def method(arg: Type) = {
}
…which has nothing to do with Go. If I add “Scala” to ignored_packages in my preferences file, these stop happening.
What’s going on? Pressing Cmd-Alt-P verifies that the scope I’m editing is source.go pure and simple.
I’m not using Scala so it’s no sweat to just put the package on ignore until it’s a released fix.