func createNewView(filename string, window *backend.Window) *backend.View { v := window.OpenFile(filename, 0) v.Settings().Set("trace", true) v.SetSyntaxFile("../../packages/go.tmbundle/Syntaxes/Go.tmLanguage") return v }
func createNewView(filename string, window *backend.Window) *backend.View { syntax := "../../3rdparty/bundles/go.tmbundle/Syntaxes/Go.tmLanguage" v := window.OpenFile(filename, 0) v.Settings().Set("trace", true) v.Settings().Set("syntax", syntax) return v }