Skip to content

Instantly share code, notes, and snippets.

@eliasnaur
Created February 10, 2020 11:08
Show Gist options
  • Save eliasnaur/f58263164f36d78631274644a929b48a to your computer and use it in GitHub Desktop.
Save eliasnaur/f58263164f36d78631274644a929b48a to your computer and use it in GitHub Desktop.
govim logs
[Trace - 11:41:03.019 AM] Sending request 'initialize - (1)'.
Params: {"processId":0,"clientInfo":{"name":""},"rootUri":"file:///var/home/elias/proj/gio/gpu","capabilities":{"Workspace":{"workspaceEdit":{},"didChangeConfiguration":{"dynamicRegistration":true},"didChangeWatchedFiles":{"dynamicRegistration":true},"symbol":{"symbolKind":{}},"executeCommand":{},"configuration":true},"textDocument":{"synchronization":{},"completion":{"completionItem":{"tagSupport":{"valueSet":null}},"completionItemKind":{}},"hover":{"contentFormat":["plaintext"]},"signatureHelp":{"signatureInformation":{"parameterInformation":{}}},"declaration":{},"definition":{},"typeDefinition":{},"implementation":{},"references":{},"documentHighlight":{},"documentSymbol":{"symbolKind":{}},"codeAction":{"codeActionLiteralSupport":{"codeActionKind":{"valueSet":null}}},"codeLens":{},"documentLink":{},"colorProvider":{},"formatting":{},"rangeFormatting":{},"onTypeFormatting":{},"rename":{},"foldingRange":{},"selectionRange":{},"publishDiagnostics":{"tagSupport":{"valueSet":null}}},"Window":{}},"initializationOptions":{"incrementalSync":true,"noDocsOnHover":true},"workspaceFolders":null}
[Trace - 11:41:03.020 AM] Received response 'initialize - (1)' in 0ms.
Result: {"capabilities":{"textDocumentSync":{"openClose":true,"change":2,"save":{}},"completionProvider":{"triggerCharacters":["."]},"hoverProvider":true,"signatureHelpProvider":{"triggerCharacters":["(",","]},"definitionProvider":true,"typeDefinitionProvider":true,"implementationProvider":true,"referencesProvider":true,"documentHighlightProvider":true,"documentSymbolProvider":true,"codeActionProvider":true,"codeLensProvider":{},"documentLinkProvider":{},"workspaceSymbolProvider":true,"documentFormattingProvider":true,"documentOnTypeFormattingProvider":{"firstTriggerCharacter":""},"renameProvider":true,"foldingRangeProvider":true,"executeCommandProvider":{"commands":["tidy"]},"workspace":{"workspaceFolders":{"supported":true,"changeNotifications":"workspace/didChangeWorkspaceFolders"}}},"serverInfo":{"name":""}}
[Trace - 11:41:03.020 AM] Sending notification 'initialized'.
Params: {}
[Trace - 11:41:03.021 AM] Received request 'client/registerCapability - (1)'.
Params: {"registrations":[{"id":"workspace/didChangeConfiguration","method":"workspace/didChangeConfiguration"},{"id":"workspace/didChangeWorkspaceFolders","method":"workspace/didChangeWorkspaceFolders"},{"id":"workspace/didChangeWatchedFiles","method":"workspace/didChangeWatchedFiles","registerOptions":{"watchers":[{"globPattern":"**/*.go","kind":7}]}}]}
[Trace - 11:41:03.021 AM] Sending response 'client/registerCapability - (1)' took 0ms.
Result: {}
[Trace - 11:41:03.062 AM] Received request 'workspace/configuration - (2)'.
Params: {"items":[{"scopeUri":"file:///var/home/elias/proj/gio/gpu","section":"gopls"},{"scopeUri":"file:///var/home/elias/proj/gio/gpu","section":"gopls-gpu"}]}
[Trace - 11:41:03.062 AM] Received notification 'window/logMessage'.
Params: {"type":3,"message":"2020/02/10 11:41:03 Build info\n----------\ngolang.org/x/tools/gopls master\n golang.org/x/tools/[email protected] h1:V3ABhXpAFB0qbpexApTq5KKq6VCwsAfW7oyOW4XTpho=\n github.com/BurntSushi/[email protected] h1:WXkYYl6Yr3qBf1K79EBnL4mak0OimBfB0XUf9Vl28OQ=\n github.com/sergi/[email protected] h1:Kpca3qRNrduNnOQeazBd0ysaKrUJiIuISHxogkT9RPQ=\n golang.org/x/[email protected] h1:WG0RUwxtNT4qqaXX3DPA8zHFNm/D9xaBpxzHt1WcA/E=\n golang.org/x/[email protected] h1:8gQV6CLnAEikrhgkHFbMAEhagSSnXWGV915qUMm9mrU=\n golang.org/x/[email protected] h1:e2097s5ZlmbJkGiqRuZb4/YoM3h8n6Ih8hdaA2ujek8=\n golang.org/x/[email protected] h1:/atklqdjdhuosWIl6AIbOeHJjicWYPqR9bpxqxYG2pA=\n honnef.co/go/[email protected] h1:3JgtbtFHMiCmsznwGVTUWbgGov+pVqnlf1dEJTNAXeM=\n mvdan.cc/xurls/[email protected] h1:KaMb5GLhlcSX+e+qhbRJODnUUBvlw01jt4yrjFIHAuA=\n\nGo info\n-------\ngo version devel +d2de9bd59c Thu Jan 16 04:02:37 2020 +0000 linux/amd64\n\nGO111MODULE=\"on\"\nGOARCH=\"amd64\"\nGOBIN=\"\"\nGOCACHE=\"/home/elias/.cache/go-build\"\nGOENV=\"/home/elias/.config/go/env\"\nGOEXE=\"\"\nGOFLAGS=\"-mod=readonly\"\nGOHOSTARCH=\"amd64\"\nGOHOSTOS=\"linux\"\nGOINSECURE=\"\"\nGONOPROXY=\"\"\nGONOSUMDB=\"\"\nGOOS=\"linux\"\nGOPATH=\"/home/elias/go\"\nGOPRIVATE=\"\"\nGOPROXY=\"https://proxy.golang.org,direct\"\nGOROOT=\"/var/home/elias/dev/go-tip\"\nGOSUMDB=\"sum.golang.org\"\nGOTMPDIR=\"\"\nGOTOOLDIR=\"/var/home/elias/dev/go-tip/pkg/tool/linux_amd64\"\nGCCGO=\"gccgo\"\nAR=\"ar\"\nCC=\"gcc\"\nCXX=\"g++\"\nCGO_ENABLED=\"1\"\nGOMOD=\"/var/home/elias/proj/gio/go.mod\"\nCGO_CFLAGS=\"-g -O2\"\nCGO_CPPFLAGS=\"\"\nCGO_CXXFLAGS=\"-g -O2\"\nCGO_FFLAGS=\"-g -O2\"\nCGO_LDFLAGS=\"-g -O2\"\nPKG_CONFIG=\"pkg-config\"\nGOGCCFLAGS=\"-fPIC -m64 -pthread -fmessage-length=0 -fdebug-prefix-map=/tmp/go-build514967706=/tmp/go-build -gno-record-gcc-switches\"\n"}
[Trace - 11:41:03.063 AM] Sending response 'workspace/configuration - (2)' took 0ms.
Result: [{"hoverKind":"FullDocumentation","staticcheck":false},null]
[Trace - 11:41:03.167 AM] Received notification 'window/logMessage'.
Params: {"type":3,"message":"2020/02/10 11:41:03 go/packages.Load\n\tsnapshot = 0\n\tquery = [./... builtin]\n\tpackages = 5"}
[Trace - 11:41:04.892 AM] Sending notification 'textDocument/didOpen'.
Params: {"textDocument":{"uri":"file:///var/home/elias/proj/gio/app/internal/egl/egl.go","languageId":"go","version":1,"text":"// SPDX-License-Identifier: Unlicense OR MIT\n\n// +build linux windows freebsd openbsd\n\npackage egl\n\nimport (\n\t\"errors\"\n\t\"fmt\"\n\t\"runtime\"\n\t\"strings\"\n\n\t\"gioui.org/app/internal/glimpl\"\n\t\"gioui.org/gpu/gl\"\n)\n\ntype Context struct {\n\tc gl.Functions\n\tdisp _EGLDisplay\n\teglCtx *eglContext\n\teglSurf _EGLSurface\n\twidth, height int\n\trefreshFBO bool\n\t// For sRGB emulation.\n\tsrgbFBO *gl.SRGBFBO\n}\n\ntype eglContext struct {\n\tconfig _EGLConfig\n\tctx _EGLContext\n\tvisualID int\n\tsrgb bool\n\tsurfaceless bool\n}\n\nvar (\n\tnilEGLDisplay _EGLDisplay\n\tnilEGLSurface _EGLSurface\n\tnilEGLContext _EGLContext\n\tnilEGLConfig _EGLConfig\n\tnilEGLNativeWindowType NativeWindowType\n\tEGL_DEFAULT_DISPLAY NativeDisplayType\n)\n\nconst (\n\t_EGL_ALPHA_SIZE = 0x3021\n\t_EGL_BLUE_SIZE = 0x3022\n\t_EGL_CONFIG_CAVEAT = 0x3027\n\t_EGL_CONTEXT_CLIENT_VERSION = 0x3098\n\t_EGL_DEPTH_SIZE = 0x3025\n\t_EGL_GL_COLORSPACE_KHR = 0x309d\n\t_EGL_GL_COLORSPACE_SRGB_KHR = 0x3089\n\t_EGL_GREEN_SIZE = 0x3023\n\t_EGL_EXTENSIONS = 0x3055\n\t_EGL_NATIVE_VISUAL_ID = 0x302e\n\t_EGL_NONE = 0x3038\n\t_EGL_OPENGL_ES2_BIT = 0x4\n\t_EGL_RED_SIZE = 0x3024\n\t_EGL_RENDERABLE_TYPE = 0x3040\n\t_EGL_SURFACE_TYPE = 0x3033\n\t_EGL_WINDOW_BIT = 0x4\n)\n\nfunc (c *Context) Release() {\n\tif c.srgbFBO != nil {\n\t\tc.srgbFBO.Release()\n\t\tc.srgbFBO = nil\n\t}\n\tc.ReleaseSurface()\n\tif c.eglCtx != nil {\n\t\teglDestroyContext(c.disp, c.eglCtx.ctx)\n\t\teglTerminate(c.disp)\n\t\teglReleaseThread()\n\t\tc.eglCtx = nil\n\t}\n\tc.disp = nilEGLDisplay\n}\n\nfunc (c *Context) Present() error {\n\tif c.srgbFBO != nil {\n\t\tc.srgbFBO.Blit()\n\t}\n\tif !eglSwapBuffers(c.disp, c.eglSurf) {\n\t\treturn fmt.Errorf(\"eglSwapBuffers failed (%x)\", eglGetError())\n\t}\n\tif c.srgbFBO != nil {\n\t\tc.srgbFBO.AfterPresent()\n\t}\n\treturn nil\n}\n\nfunc NewContext(disp NativeDisplayType) (*Context, error) {\n\tif err := loadEGL(); err != nil {\n\t\treturn nil, err\n\t}\n\teglDisp := eglGetDisplay(disp)\n\t// eglGetDisplay can return EGL_NO_DISPLAY yet no error\n\t// (EGL_SUCCESS), in which case a default EGL display might be\n\t// available.\n\tif eglDisp == nilEGLDisplay {\n\t\teglDisp = eglGetDisplay(EGL_DEFAULT_DISPLAY)\n\t}\n\tif eglDisp == nilEGLDisplay {\n\t\treturn nil, fmt.Errorf(\"eglGetDisplay failed: 0x%x\", eglGetError())\n\t}\n\teglCtx, err := createContext(eglDisp)\n\tif err != nil {\n\t\treturn nil, err\n\t}\n\tc := \u0026Context{\n\t\tdisp: eglDisp,\n\t\teglCtx: eglCtx,\n\t\tc: new(glimpl.Functions),\n\t}\n\treturn c, nil\n}\n\nfunc (c *Context) Functions() gl.Functions {\n\treturn c.c\n}\n\nfunc (c *Context) ReleaseSurface() {\n\tif c.eglSurf == nilEGLSurface {\n\t\treturn\n\t}\n\t// Make sure any in-flight GL commands are complete.\n\tc.c.Finish()\n\tc.ReleaseCurrent()\n\teglDestroySurface(c.disp, c.eglSurf)\n\tc.eglSurf = nilEGLSurface\n}\n\nfunc (c *Context) VisualID() int {\n\treturn c.eglCtx.visualID\n}\n\nfunc (c *Context) CreateSurface(win NativeWindowType, width, height int) error {\n\teglSurf, err := createSurface(c.disp, c.eglCtx, win)\n\tc.eglSurf = eglSurf\n\tc.width = width\n\tc.height = height\n\tc.refreshFBO = true\n\treturn err\n}\n\nfunc (c *Context) ReleaseCurrent() {\n\tif c.disp != nilEGLDisplay {\n\t\teglMakeCurrent(c.disp, nilEGLSurface, nilEGLSurface, nilEGLContext)\n\t}\n}\n\nfunc (c *Context) MakeCurrent() error {\n\tif c.eglSurf == nilEGLSurface \u0026\u0026 !c.eglCtx.surfaceless {\n\t\treturn errors.New(\"no surface created yet EGL_KHR_surfaceless_context is not supported\")\n\t}\n\tif !eglMakeCurrent(c.disp, c.eglSurf, c.eglSurf, c.eglCtx.ctx) {\n\t\treturn fmt.Errorf(\"eglMakeCurrent error 0x%x\", eglGetError())\n\t}\n\tif c.eglCtx.srgb || c.eglSurf == nilEGLSurface {\n\t\treturn nil\n\t}\n\tif c.srgbFBO == nil {\n\t\tvar err error\n\t\tc.srgbFBO, err = gl.NewSRGBFBO(c.c)\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t}\n\tif c.refreshFBO {\n\t\tc.refreshFBO = false\n\t\treturn c.srgbFBO.Refresh(c.width, c.height)\n\t}\n\treturn nil\n}\n\nfunc (c *Context) EnableVSync(enable bool) {\n\tif enable {\n\t\teglSwapInterval(c.disp, 1)\n\t} else {\n\t\teglSwapInterval(c.disp, 0)\n\t}\n}\n\nfunc hasExtension(exts []string, ext string) bool {\n\tfor _, e := range exts {\n\t\tif ext == e {\n\t\t\treturn true\n\t\t}\n\t}\n\treturn false\n}\n\nfunc createContext(disp _EGLDisplay) (*eglContext, error) {\n\tmajor, minor, ret := eglInitialize(disp)\n\tif !ret {\n\t\treturn nil, fmt.Errorf(\"eglInitialize failed: 0x%x\", eglGetError())\n\t}\n\t// sRGB framebuffer support on EGL 1.5 or if EGL_KHR_gl_colorspace is supported.\n\texts := strings.Split(eglQueryString(disp, _EGL_EXTENSIONS), \" \")\n\tsrgb := major \u003e 1 || minor \u003e= 5 || hasExtension(exts, \"EGL_KHR_gl_colorspace\")\n\tattribs := []_EGLint{\n\t\t_EGL_RENDERABLE_TYPE, _EGL_OPENGL_ES2_BIT,\n\t\t_EGL_SURFACE_TYPE, _EGL_WINDOW_BIT,\n\t\t_EGL_BLUE_SIZE, 8,\n\t\t_EGL_GREEN_SIZE, 8,\n\t\t_EGL_RED_SIZE, 8,\n\t\t_EGL_CONFIG_CAVEAT, _EGL_NONE,\n\t}\n\tsrgb = false\n\tif srgb {\n\t\tif runtime.GOOS == \"linux\" {\n\t\t\t// Some Mesa drivers crash if an sRGB framebuffer is requested without alpha.\n\t\t\t// https://bugs.freedesktop.org/show_bug.cgi?id=107782.\n\t\t\tattribs = append(attribs, _EGL_ALPHA_SIZE, 1)\n\t\t}\n\t\t// Only request a depth buffer if we're going to render directly to the framebuffer.\n\t\tattribs = append(attribs, _EGL_DEPTH_SIZE, 16)\n\t}\n\tattribs = append(attribs, _EGL_NONE)\n\teglCfg, ret := eglChooseConfig(disp, attribs)\n\tif !ret {\n\t\treturn nil, fmt.Errorf(\"eglChooseConfig failed: 0x%x\", eglGetError())\n\t}\n\tif eglCfg == nilEGLConfig {\n\t\treturn nil, errors.New(\"eglChooseConfig returned 0 configs\")\n\t}\n\tvisID, ret := eglGetConfigAttrib(disp, eglCfg, _EGL_NATIVE_VISUAL_ID)\n\tif !ret {\n\t\treturn nil, errors.New(\"newContext: eglGetConfigAttrib for _EGL_NATIVE_VISUAL_ID failed\")\n\t}\n\tctxAttribs := []_EGLint{\n\t\t_EGL_CONTEXT_CLIENT_VERSION, 3,\n\t\t_EGL_NONE,\n\t}\n\teglCtx := eglCreateContext(disp, eglCfg, nilEGLContext, ctxAttribs)\n\tif eglCtx == nilEGLContext {\n\t\t// Fall back to OpenGL ES 2 and rely on extensions.\n\t\tctxAttribs := []_EGLint{\n\t\t\t_EGL_CONTEXT_CLIENT_VERSION, 2,\n\t\t\t_EGL_NONE,\n\t\t}\n\t\teglCtx = eglCreateContext(disp, eglCfg, nilEGLContext, ctxAttribs)\n\t\tif eglCtx == nilEGLContext {\n\t\t\treturn nil, fmt.Errorf(\"eglCreateContext failed: 0x%x\", eglGetError())\n\t\t}\n\t}\n\treturn \u0026eglContext{\n\t\tconfig: _EGLConfig(eglCfg),\n\t\tctx: _EGLContext(eglCtx),\n\t\tvisualID: int(visID),\n\t\tsrgb: srgb,\n\t\tsurfaceless: hasExtension(exts, \"EGL_KHR_surfaceless_context\"),\n\t}, nil\n}\n\nfunc createSurface(disp _EGLDisplay, eglCtx *eglContext, win NativeWindowType) (_EGLSurface, error) {\n\tvar surfAttribs []_EGLint\n\tif eglCtx.srgb {\n\t\tsurfAttribs = append(surfAttribs, _EGL_GL_COLORSPACE_KHR, _EGL_GL_COLORSPACE_SRGB_KHR)\n\t}\n\tsurfAttribs = append(surfAttribs, _EGL_NONE)\n\teglSurf := eglCreateWindowSurface(disp, eglCtx.config, win, surfAttribs)\n\tif eglSurf == nilEGLSurface \u0026\u0026 eglCtx.srgb {\n\t\t// Try again without sRGB\n\t\teglCtx.srgb = false\n\t\tsurfAttribs = []_EGLint{_EGL_NONE}\n\t\teglSurf = eglCreateWindowSurface(disp, eglCtx.config, win, surfAttribs)\n\t}\n\tif eglSurf == nilEGLSurface {\n\t\treturn nilEGLSurface, fmt.Errorf(\"newContext: eglCreateWindowSurface failed 0x%x (sRGB=%v)\", eglGetError(), eglCtx.srgb)\n\t}\n\treturn eglSurf, nil\n}\n"}}
[Trace - 11:41:09.511 AM] Sending notification 'textDocument/didChange'.
Params: {"textDocument":{"version":2,"uri":"file:///var/home/elias/proj/gio/app/internal/egl/egl.go"},"contentChanges":[{"range":{"start":{"line":208,"character":0},"end":{"line":209,"character":0}},"text":"\t/srgb = false\n"}]}
[Trace - 11:41:09.512 AM] Received notification 'window/logMessage'.
Params: {"type":1,"message":"2020/02/10 11:41:09 : no snapshot for file:///var/home/elias/proj/gio/app/internal/egl/egl.go"}
[Trace - 11:41:09.620 AM] Sending notification 'textDocument/didChange'.
Params: {"textDocument":{"version":3,"uri":"file:///var/home/elias/proj/gio/app/internal/egl/egl.go"},"contentChanges":[{"range":{"start":{"line":208,"character":0},"end":{"line":209,"character":0}},"text":"\t//srgb = false\n"}]}
[Trace - 11:41:09.621 AM] Received notification 'window/logMessage'.
Params: {"type":1,"message":"2020/02/10 11:41:09 : no snapshot for file:///var/home/elias/proj/gio/app/internal/egl/egl.go"}
[Trace - 11:41:10.235 AM] Sending request 'textDocument/codeAction - (2)'.
Params: {"textDocument":{"uri":"file:///var/home/elias/proj/gio/app/internal/egl/egl.go"},"range":{"start":{"line":0,"character":0},"end":{"line":0,"character":0}},"context":{"diagnostics":null}}
[Trace - 11:41:10.332 AM] Received notification 'window/logMessage'.
Params: {"type":3,"message":"2020/02/10 11:41:10 go/packages.Load\n\tsnapshot = 0\n\tquery = [file=/var/home/elias/proj/gio/app/internal/egl/egl.go]\n\tpackages = 1"}
[Trace - 11:41:10.332 AM] Received notification 'window/logMessage'.
Params: {"type":3,"message":"2020/02/10 11:41:10 go/packages.Load\n\tsnapshot = 0\n\tpackage = gioui.org/app/internal/egl\n\tfiles = [/var/home/elias/proj/gio/app/internal/egl/egl.go /home/elias/.cache/go-build/6c/6cdabf04e4eb3f6001922b36cbe6174e70ba623955392fa6503a453e998d46f6-d /home/elias/.cache/go-build/21/216365567454f0310664d80292b0f8be3674b4b2bbc2f065ea6885ecbb795690-d /home/elias/.cache/go-build/55/556835cfb68e02f2379fb4ab70d0d5db079f088c081ee7b68dcb901b4b66242c-d]"}
[Error - 11:41:10.333 AM] Received #2 method "textDocument/codeAction" did not reply
[Trace - 11:41:10.333 AM] Sending notification 'workspace/didChangeWatchedFiles'.
Params: {"changes":[{"uri":"file:///var/home/elias/proj/gio/app/internal/egl/egl.go","type":2}]}
[Trace - 11:41:10.333 AM] Sending notification 'workspace/didChangeWatchedFiles'.
Params: {"changes":[{"uri":"file:///var/home/elias/proj/gio/app/internal/egl/egl.go","type":2}]}
2020-02-10T11:41:02.995809_#1: run: waiting to read a JSON message
2020-02-10T11:41:02.995984_#1: vim start =======================
2020-02-10T11:41:02.995984_#1: sendJSONMsg: [0,[1,"loaded"]]
2020-02-10T11:41:02.995984_#1: vim end =======================
2020-02-10T11:41:02.996425_#1: vim start =======================
2020-02-10T11:41:02.996425_#1: recvJSONMsg: [1] ["callback",1,[""]]
2020-02-10T11:41:02.996425_#1: vim end =======================
2020-02-10T11:41:02.996486_#1: run: waiting to read a JSON message
2020-02-10T11:41:02.996569_#1: vim start =======================
2020-02-10T11:41:02.996569_#1: sendJSONMsg: [0,[2,"ex","let s:govim_logfile=\"/tmp/govim_20200210_1141_02_979008590.log\""]]
2020-02-10T11:41:02.996569_#1: vim end =======================
2020-02-10T11:41:02.996781_#1: vim start =======================
2020-02-10T11:41:02.996781_#1: recvJSONMsg: [2] ["callback",2,[""]]
2020-02-10T11:41:02.996781_#1: vim end =======================
2020-02-10T11:41:02.996820_#1: run: waiting to read a JSON message
2020-02-10T11:41:02.996835_#1: Go version devel +d2de9bd59c Thu Jan 16 04:02:37 2020 +0000
2020-02-10T11:41:02.997292_#1: Build info: &debug.BuildInfo{
2020-02-10T11:41:02.997292_#1: Path: "github.com/govim/govim/cmd/govim",
2020-02-10T11:41:02.997292_#1: Main: debug.Module{
2020-02-10T11:41:02.997292_#1: Path: "github.com/govim/govim",
2020-02-10T11:41:02.997292_#1: Version: "(devel)",
2020-02-10T11:41:02.997292_#1: Sum: "",
2020-02-10T11:41:02.997292_#1: Replace: (*debug.Module)(nil),
2020-02-10T11:41:02.997292_#1: },
2020-02-10T11:41:02.997292_#1: Deps: {
2020-02-10T11:41:02.997292_#1: &debug.Module{
2020-02-10T11:41:02.997292_#1: Path: "github.com/fsnotify/fsnotify",
2020-02-10T11:41:02.997292_#1: Version: "v1.4.7",
2020-02-10T11:41:02.997292_#1: Sum: "h1:IXs+QLmnXW2CcXuY+8Mzv/fWEsPGWxqefPtCP5CnV9I=",
2020-02-10T11:41:02.997292_#1: Replace: (*debug.Module)(nil),
2020-02-10T11:41:02.997292_#1: },
2020-02-10T11:41:02.997292_#1: &debug.Module{
2020-02-10T11:41:02.997292_#1: Path: "github.com/kr/pretty",
2020-02-10T11:41:02.997292_#1: Version: "v0.1.0",
2020-02-10T11:41:02.997292_#1: Sum: "h1:L/CwN0zerZDmRFUapSPitk6f+Q3+0za1rQkzVuMiMFI=",
2020-02-10T11:41:02.997292_#1: Replace: (*debug.Module)(nil),
2020-02-10T11:41:02.997292_#1: },
2020-02-10T11:41:02.997292_#1: &debug.Module{
2020-02-10T11:41:02.997292_#1: Path: "github.com/kr/text",
2020-02-10T11:41:02.997292_#1: Version: "v0.1.0",
2020-02-10T11:41:02.997292_#1: Sum: "h1:45sCR5RtlFHMR4UwH9sdQ5TC8v0qDQCHnXt+kaKSTVE=",
2020-02-10T11:41:02.997292_#1: Replace: (*debug.Module)(nil),
2020-02-10T11:41:02.997292_#1: },
2020-02-10T11:41:02.997292_#1: &debug.Module{
2020-02-10T11:41:02.997292_#1: Path: "golang.org/x/sys",
2020-02-10T11:41:02.997292_#1: Version: "v0.0.0-20190412213103-97732733099d",
2020-02-10T11:41:02.997292_#1: Sum: "h1:+R4KGOnez64A81RvjARKc4UT5/tI9ujCIVX+P5KiHuI=",
2020-02-10T11:41:02.997292_#1: Replace: (*debug.Module)(nil),
2020-02-10T11:41:02.997292_#1: },
2020-02-10T11:41:02.997292_#1: &debug.Module{
2020-02-10T11:41:02.997292_#1: Path: "golang.org/x/xerrors",
2020-02-10T11:41:02.997292_#1: Version: "v0.0.0-20191011141410-1b5146add898",
2020-02-10T11:41:02.997292_#1: Sum: "h1:/atklqdjdhuosWIl6AIbOeHJjicWYPqR9bpxqxYG2pA=",
2020-02-10T11:41:02.997292_#1: Replace: (*debug.Module)(nil),
2020-02-10T11:41:02.997292_#1: },
2020-02-10T11:41:02.997292_#1: &debug.Module{
2020-02-10T11:41:02.997292_#1: Path: "gopkg.in/tomb.v2",
2020-02-10T11:41:02.997292_#1: Version: "v2.0.0-20161208151619-d5d1b5820637",
2020-02-10T11:41:02.997292_#1: Sum: "h1:yiW+nvdHb9LVqSHQBXfZCieqV4fzYhNBql77zY0ykqs=",
2020-02-10T11:41:02.997292_#1: Replace: (*debug.Module)(nil),
2020-02-10T11:41:02.997292_#1: },
2020-02-10T11:41:02.997292_#1: },
2020-02-10T11:41:02.997292_#1: }
2020-02-10T11:41:02.997474_#1: vim start =======================
2020-02-10T11:41:02.997474_#1: sendJSONMsg: [0,[3,"expr","{\"VersionLong\": exists(\"v:versionlong\")?v:versionlong:-1, \"GuiRunning\": has(\"gui_running\")}"]]
2020-02-10T11:41:02.997474_#1: vim end =======================
2020-02-10T11:41:02.997884_#1: vim start =======================
2020-02-10T11:41:02.997884_#1: recvJSONMsg: [3] ["callback",3,["",{"VersionLong":8020109,"GuiRunning":0}]]
2020-02-10T11:41:02.997884_#1: vim end =======================
2020-02-10T11:41:02.997950_#1: run: waiting to read a JSON message
2020-02-10T11:41:02.998039_#1: Loaded against vim v8.2.109
2020-02-10T11:41:02.998106_#1: vim start =======================
2020-02-10T11:41:02.998106_#1: sendJSONMsg: [0,[4,"ex","augroup govim"]]
2020-02-10T11:41:02.998106_#1: vim end =======================
2020-02-10T11:41:02.998409_#1: vim start =======================
2020-02-10T11:41:02.998409_#1: recvJSONMsg: [4] ["callback",4,[""]]
2020-02-10T11:41:02.998409_#1: vim end =======================
2020-02-10T11:41:02.998443_#1: run: waiting to read a JSON message
2020-02-10T11:41:02.998465_#1: vim start =======================
2020-02-10T11:41:02.998465_#1: sendJSONMsg: [0,[5,"ex","augroup END"]]
2020-02-10T11:41:02.998465_#1: vim end =======================
2020-02-10T11:41:02.998629_#1: vim start =======================
2020-02-10T11:41:02.998629_#1: recvJSONMsg: [5] ["callback",5,[""]]
2020-02-10T11:41:02.998629_#1: vim end =======================
2020-02-10T11:41:02.998655_#1: run: waiting to read a JSON message
2020-02-10T11:41:02.998673_#1: vim start =======================
2020-02-10T11:41:02.998673_#1: sendJSONMsg: [0,[6,"call","getcwd",-1]]
2020-02-10T11:41:02.998673_#1: vim end =======================
2020-02-10T11:41:02.998858_#1: vim start =======================
2020-02-10T11:41:02.998858_#1: recvJSONMsg: [6] ["callback",6,["","/var/home/elias/proj/gio/gpu"]]
2020-02-10T11:41:02.998858_#1: vim end =======================
2020-02-10T11:41:02.998882_#1: run: waiting to read a JSON message
2020-02-10T11:41:02.998945_#1: vim start =======================
2020-02-10T11:41:02.998945_#1: sendJSONMsg: [0,[7,"function","GOVIM_internal_BalloonExpr",[]]]
2020-02-10T11:41:02.998945_#1: vim end =======================
2020-02-10T11:41:02.999216_#1: vim start =======================
2020-02-10T11:41:02.999216_#1: recvJSONMsg: [7] ["callback",7,[""]]
2020-02-10T11:41:02.999216_#1: vim end =======================
2020-02-10T11:41:02.999251_#1: run: waiting to read a JSON message
2020-02-10T11:41:02.999299_#1: vim start =======================
2020-02-10T11:41:02.999299_#1: sendJSONMsg: [0,[8,"autocmd","autocommand:0"," govim BufUnload *.go",["eval(expand('\u003cabuf\u003e'))"]]]
2020-02-10T11:41:02.999299_#1: vim end =======================
2020-02-10T11:41:02.999552_#1: vim start =======================
2020-02-10T11:41:02.999552_#1: recvJSONMsg: [8] ["callback",8,[""]]
2020-02-10T11:41:02.999552_#1: vim end =======================
2020-02-10T11:41:02.999590_#1: run: waiting to read a JSON message
2020-02-10T11:41:02.999643_#1: vim start =======================
2020-02-10T11:41:02.999643_#1: sendJSONMsg: [0,[9,"autocmd","autocommand:1"," govim BufNewFile,BufRead *.go",["{\"Num\": eval(expand('\u003cabuf\u003e')), \"Name\": fnamemodify(bufname(eval(expand('\u003cabuf\u003e'))),':p'), \"Contents\": join(getbufline(eval(expand('\u003cabuf\u003e')), 0, \"$\"), \"\\n\").\"\\n\", \"Loaded\": bufloaded(eval(expand('\u003cabuf\u003e')))}"]]]
2020-02-10T11:41:02.999643_#1: vim end =======================
2020-02-10T11:41:02.999893_#1: vim start =======================
2020-02-10T11:41:02.999893_#1: recvJSONMsg: [9] ["callback",9,[""]]
2020-02-10T11:41:02.999893_#1: vim end =======================
2020-02-10T11:41:02.999918_#1: run: waiting to read a JSON message
2020-02-10T11:41:02.999933_#1: vim start =======================
2020-02-10T11:41:02.999933_#1: sendJSONMsg: [0,[10,"autocmd","autocommand:2"," govim BufWritePre *.go",["eval(expand('\u003cabuf\u003e'))"]]]
2020-02-10T11:41:02.999933_#1: vim end =======================
2020-02-10T11:41:03.000170_#1: vim start =======================
2020-02-10T11:41:03.000170_#1: recvJSONMsg: [10] ["callback",10,[""]]
2020-02-10T11:41:03.000170_#1: vim end =======================
2020-02-10T11:41:03.000239_#1: run: waiting to read a JSON message
2020-02-10T11:41:03.000283_#1: vim start =======================
2020-02-10T11:41:03.000283_#1: sendJSONMsg: [0,[11,"autocmd","autocommand:3"," govim BufWritePost *.go",["eval(expand('\u003cabuf\u003e'))"]]]
2020-02-10T11:41:03.000283_#1: vim end =======================
2020-02-10T11:41:03.000513_#1: vim start =======================
2020-02-10T11:41:03.000513_#1: recvJSONMsg: [11] ["callback",11,[""]]
2020-02-10T11:41:03.000513_#1: vim end =======================
2020-02-10T11:41:03.000557_#1: run: waiting to read a JSON message
2020-02-10T11:41:03.000596_#1: vim start =======================
2020-02-10T11:41:03.000596_#1: sendJSONMsg: [0,[12,"function","GOVIM_internal_Complete",["findarg","base"]]]
2020-02-10T11:41:03.000596_#1: vim end =======================
2020-02-10T11:41:03.000828_#1: vim start =======================
2020-02-10T11:41:03.000828_#1: recvJSONMsg: [12] ["callback",12,[""]]
2020-02-10T11:41:03.000828_#1: vim end =======================
2020-02-10T11:41:03.000849_#1: run: waiting to read a JSON message
2020-02-10T11:41:03.000884_#1: vim start =======================
2020-02-10T11:41:03.000884_#1: sendJSONMsg: [0,[13,"command","GOVIMGoToDef",{"nargs":"-nargs=?"}]]
2020-02-10T11:41:03.000884_#1: vim end =======================
2020-02-10T11:41:03.001147_#1: vim start =======================
2020-02-10T11:41:03.001147_#1: recvJSONMsg: [13] ["callback",13,[""]]
2020-02-10T11:41:03.001147_#1: vim end =======================
2020-02-10T11:41:03.001220_#1: run: waiting to read a JSON message
2020-02-10T11:41:03.001246_#1: vim start =======================
2020-02-10T11:41:03.001246_#1: sendJSONMsg: [0,[14,"command","GOVIMSuggestedFixes",{"nargs":"-nargs=?"}]]
2020-02-10T11:41:03.001246_#1: vim end =======================
2020-02-10T11:41:03.001430_#1: vim start =======================
2020-02-10T11:41:03.001430_#1: recvJSONMsg: [14] ["callback",14,[""]]
2020-02-10T11:41:03.001430_#1: vim end =======================
2020-02-10T11:41:03.001489_#1: run: waiting to read a JSON message
2020-02-10T11:41:03.001520_#1: vim start =======================
2020-02-10T11:41:03.001520_#1: sendJSONMsg: [0,[15,"command","GOVIMGoToPrevDef",{"count":"-count=1","nargs":"-nargs=?"}]]
2020-02-10T11:41:03.001520_#1: vim end =======================
2020-02-10T11:41:03.001710_#1: vim start =======================
2020-02-10T11:41:03.001710_#1: recvJSONMsg: [15] ["callback",15,[""]]
2020-02-10T11:41:03.001710_#1: vim end =======================
2020-02-10T11:41:03.001774_#1: run: waiting to read a JSON message
2020-02-10T11:41:03.001796_#1: vim start =======================
2020-02-10T11:41:03.001796_#1: sendJSONMsg: [0,[16,"function","GOVIMHover",[]]]
2020-02-10T11:41:03.001796_#1: vim end =======================
2020-02-10T11:41:03.001949_#1: vim start =======================
2020-02-10T11:41:03.001949_#1: recvJSONMsg: [16] ["callback",16,[""]]
2020-02-10T11:41:03.001949_#1: vim end =======================
2020-02-10T11:41:03.001976_#1: run: waiting to read a JSON message
2020-02-10T11:41:03.002007_#1: vim start =======================
2020-02-10T11:41:03.002007_#1: sendJSONMsg: [0,[17,"autocmd","autocommand:4"," govim BufDelete *.go",["eval(expand('\u003cabuf\u003e'))"]]]
2020-02-10T11:41:03.002007_#1: vim end =======================
2020-02-10T11:41:03.002194_#1: vim start =======================
2020-02-10T11:41:03.002194_#1: recvJSONMsg: [17] ["callback",17,[""]]
2020-02-10T11:41:03.002194_#1: vim end =======================
2020-02-10T11:41:03.002224_#1: run: waiting to read a JSON message
2020-02-10T11:41:03.002241_#1: vim start =======================
2020-02-10T11:41:03.002241_#1: sendJSONMsg: [0,[18,"command","GOVIMGoFmt",{}]]
2020-02-10T11:41:03.002241_#1: vim end =======================
2020-02-10T11:41:03.002497_#1: vim start =======================
2020-02-10T11:41:03.002497_#1: recvJSONMsg: [18] ["callback",18,[""]]
2020-02-10T11:41:03.002497_#1: vim end =======================
2020-02-10T11:41:03.002527_#1: run: waiting to read a JSON message
2020-02-10T11:41:03.002544_#1: vim start =======================
2020-02-10T11:41:03.002544_#1: sendJSONMsg: [0,[19,"command","GOVIMGoImports",{}]]
2020-02-10T11:41:03.002544_#1: vim end =======================
2020-02-10T11:41:03.002775_#1: vim start =======================
2020-02-10T11:41:03.002775_#1: recvJSONMsg: [19] ["callback",19,[""]]
2020-02-10T11:41:03.002775_#1: vim end =======================
2020-02-10T11:41:03.002835_#1: run: waiting to read a JSON message
2020-02-10T11:41:03.002865_#1: vim start =======================
2020-02-10T11:41:03.002865_#1: sendJSONMsg: [0,[20,"command","GOVIMQuickfixDiagnostics",{}]]
2020-02-10T11:41:03.002865_#1: vim end =======================
2020-02-10T11:41:03.003071_#1: vim start =======================
2020-02-10T11:41:03.003071_#1: recvJSONMsg: [20] ["callback",20,[""]]
2020-02-10T11:41:03.003071_#1: vim end =======================
2020-02-10T11:41:03.003094_#1: run: waiting to read a JSON message
2020-02-10T11:41:03.003120_#1: vim start =======================
2020-02-10T11:41:03.003120_#1: sendJSONMsg: [0,[21,"function","GOVIM_internal_BufChanged",["bufnr","start","end","added","changes"]]]
2020-02-10T11:41:03.003120_#1: vim end =======================
2020-02-10T11:41:03.003301_#1: vim start =======================
2020-02-10T11:41:03.003301_#1: recvJSONMsg: [21] ["callback",21,[""]]
2020-02-10T11:41:03.003301_#1: vim end =======================
2020-02-10T11:41:03.003320_#1: run: waiting to read a JSON message
2020-02-10T11:41:03.003337_#1: vim start =======================
2020-02-10T11:41:03.003337_#1: sendJSONMsg: [0,[22,"function","GOVIM_internal_SetConfig",["config"]]]
2020-02-10T11:41:03.003337_#1: vim end =======================
2020-02-10T11:41:03.003500_#1: vim start =======================
2020-02-10T11:41:03.003500_#1: recvJSONMsg: [22] ["callback",22,[""]]
2020-02-10T11:41:03.003500_#1: vim end =======================
2020-02-10T11:41:03.003517_#1: run: waiting to read a JSON message
2020-02-10T11:41:03.003537_#1: vim start =======================
2020-02-10T11:41:03.003537_#1: sendJSONMsg: [0,[23,"ex","call govim#config#Set(\"_internal_Func\", function(\"GOVIM_internal_SetConfig\"))"]]
2020-02-10T11:41:03.003537_#1: vim end =======================
2020-02-10T11:41:03.003903_#1: vim start =======================
2020-02-10T11:41:03.003903_#1: recvJSONMsg: [23] ["function","function:GOVIM_internal_SetConfig",[{}]]
2020-02-10T11:41:03.003903_#1: vim end =======================
2020-02-10T11:41:03.003926_#1: run: waiting to read a JSON message
2020-02-10T11:41:03.004102_#1: vim start =======================
2020-02-10T11:41:03.004102_#1: sendJSONMsg: [23,["",null]]
2020-02-10T11:41:03.004102_#1: vim end =======================
2020-02-10T11:41:03.004236_#1: vim start =======================
2020-02-10T11:41:03.004236_#1: recvJSONMsg: [24] ["callback",23,[""]]
2020-02-10T11:41:03.004236_#1: vim end =======================
2020-02-10T11:41:03.004277_#1: run: waiting to read a JSON message
2020-02-10T11:41:03.004346_#1: vim start =======================
2020-02-10T11:41:03.004346_#1: sendJSONMsg: [0,[24,"function","GOVIM_internal_SetUserBusy",["isBusy"]]]
2020-02-10T11:41:03.004346_#1: vim end =======================
2020-02-10T11:41:03.004555_#1: vim start =======================
2020-02-10T11:41:03.004555_#1: recvJSONMsg: [25] ["callback",24,[""]]
2020-02-10T11:41:03.004555_#1: vim end =======================
2020-02-10T11:41:03.004589_#1: run: waiting to read a JSON message
2020-02-10T11:41:03.004613_#1: vim start =======================
2020-02-10T11:41:03.004613_#1: sendJSONMsg: [0,[25,"function","GOVIM_internal_PopupSelection",["id","selected"]]]
2020-02-10T11:41:03.004613_#1: vim end =======================
2020-02-10T11:41:03.004846_#1: vim start =======================
2020-02-10T11:41:03.004846_#1: recvJSONMsg: [26] ["callback",25,[""]]
2020-02-10T11:41:03.004846_#1: vim end =======================
2020-02-10T11:41:03.004870_#1: run: waiting to read a JSON message
2020-02-10T11:41:03.004887_#1: vim start =======================
2020-02-10T11:41:03.004887_#1: sendJSONMsg: [0,[26,"command","GOVIMReferences",{}]]
2020-02-10T11:41:03.004887_#1: vim end =======================
2020-02-10T11:41:03.005109_#1: vim start =======================
2020-02-10T11:41:03.005109_#1: recvJSONMsg: [27] ["callback",26,[""]]
2020-02-10T11:41:03.005109_#1: vim end =======================
2020-02-10T11:41:03.005142_#1: run: waiting to read a JSON message
2020-02-10T11:41:03.005172_#1: vim start =======================
2020-02-10T11:41:03.005172_#1: sendJSONMsg: [0,[27,"command","GOVIMRename",{"nargs":"-nargs=?"}]]
2020-02-10T11:41:03.005172_#1: vim end =======================
2020-02-10T11:41:03.005348_#1: vim start =======================
2020-02-10T11:41:03.005348_#1: recvJSONMsg: [28] ["callback",27,[""]]
2020-02-10T11:41:03.005348_#1: vim end =======================
2020-02-10T11:41:03.005408_#1: run: waiting to read a JSON message
2020-02-10T11:41:03.005432_#1: vim start =======================
2020-02-10T11:41:03.005432_#1: sendJSONMsg: [0,[28,"command","GOVIMStringFn",{"complete":"-complete=customlist,GOVIM_internal_StringFnComplete","nargs":"-nargs=+","range":"-range"}]]
2020-02-10T11:41:03.005432_#1: vim end =======================
2020-02-10T11:41:03.005628_#1: vim start =======================
2020-02-10T11:41:03.005628_#1: recvJSONMsg: [29] ["callback",28,[""]]
2020-02-10T11:41:03.005628_#1: vim end =======================
2020-02-10T11:41:03.005678_#1: run: waiting to read a JSON message
2020-02-10T11:41:03.005698_#1: vim start =======================
2020-02-10T11:41:03.005698_#1: sendJSONMsg: [0,[29,"function","GOVIM_internal_StringFnComplete",["ArgLead","CmdLine","CursorPos"]]]
2020-02-10T11:41:03.005698_#1: vim end =======================
2020-02-10T11:41:03.005881_#1: vim start =======================
2020-02-10T11:41:03.005881_#1: recvJSONMsg: [30] ["callback",29,[""]]
2020-02-10T11:41:03.005881_#1: vim end =======================
2020-02-10T11:41:03.005900_#1: run: waiting to read a JSON message
2020-02-10T11:41:03.005918_#1: vim start =======================
2020-02-10T11:41:03.005918_#1: sendJSONMsg: [0,[30,"autocmd","autocommand:5"," govim CompleteDone *.go",["eval(expand('\u003cabuf\u003e'))","v:completed_item"]]]
2020-02-10T11:41:03.005918_#1: vim end =======================
2020-02-10T11:41:03.006111_#1: vim start =======================
2020-02-10T11:41:03.006111_#1: recvJSONMsg: [31] ["callback",30,[""]]
2020-02-10T11:41:03.006111_#1: vim end =======================
2020-02-10T11:41:03.006197_#1: run: waiting to read a JSON message
2020-02-10T11:41:03.006262_#1: vim start =======================
2020-02-10T11:41:03.006262_#1: sendJSONMsg: [0,[31,"expr","\u0026t_Co"]]
2020-02-10T11:41:03.006262_#1: vim end =======================
2020-02-10T11:41:03.006406_#1: vim start =======================
2020-02-10T11:41:03.006406_#1: recvJSONMsg: [32] ["callback",31,["","256"]]
2020-02-10T11:41:03.006406_#1: vim end =======================
2020-02-10T11:41:03.006468_#1: run: waiting to read a JSON message
2020-02-10T11:41:03.006628_#1: vim start =======================
2020-02-10T11:41:03.006628_#1: sendJSONMsg: [0,[32,"call","s:batchCall",[["call","s:mustNothing","execute","highlight default GOVIMErr term=underline cterm=underline gui=undercurl ctermfg=1 guisp=Red"],["call","s:mustNothing","execute","highlight default GOVIMWarn term=underline cterm=underline gui=undercurl ctermfg=166 guisp=Orange"],["call","s:mustNothing","execute","highlight default GOVIMInfo term=underline cterm=underline gui=undercurl ctermfg=6 guisp=Cyan"],["call","s:mustNothing","execute","highlight default link GOVIMHint GOVIMInfo"],["call","s:mustNothing","execute","highlight default link GOVIMSignErr ErrorMsg"],["call","s:mustNothing","execute","highlight default GOVIMSignWarn ctermfg=15 ctermbg=166 guisp=Orange guifg=Orange"],["call","s:mustNothing","execute","highlight default GOVIMSignInfo ctermfg=15 ctermbg=6 guisp=Cyan guifg=Cyan"],["call","s:mustNothing","execute","highlight default link GOVIMSignHint GOVIMSignInfo"],["call","s:mustNothing","execute","highlight default GOVIMHoverErr cterm=bold gui=bold ctermfg=1"],["call","s:mustNothing","execute","highlight default GOVIMHoverWarn cterm=bold gui=bold ctermfg=166"],["call","s:mustNothing","execute","highlight default GOVIMHoverInfo cterm=bold gui=bold ctermfg=6"],["call","s:mustNothing","execute","highlight default link GOVIMHoverHint GOVIMHoverInfo"],["call","s:mustNothing","execute","highlight default GOVIMHoverDiagSrc cterm=none gui=italic ctermfg=245 guifg=#8a8a8a"]]]]
2020-02-10T11:41:03.006628_#1: vim end =======================
2020-02-10T11:41:03.007294_#1: vim start =======================
2020-02-10T11:41:03.007294_#1: recvJSONMsg: [33] ["callback",32,["",["","","","","","","","","","","","",""]]]
2020-02-10T11:41:03.007294_#1: vim end =======================
2020-02-10T11:41:03.007390_#1: run: waiting to read a JSON message
2020-02-10T11:41:03.007472_#1: vim start =======================
2020-02-10T11:41:03.007472_#1: sendJSONMsg: [0,[33,"call","s:batchCall",[["call","s:mustNothing","sign_getdefined","GOVIMSignErr"],["call","s:mustNothing","sign_getdefined","GOVIMSignWarn"],["call","s:mustNothing","sign_getdefined","GOVIMSignInfo"],["call","s:mustNothing","sign_getdefined","GOVIMSignHint"]]]]
2020-02-10T11:41:03.007472_#1: vim end =======================
2020-02-10T11:41:03.007817_#1: vim start =======================
2020-02-10T11:41:03.007817_#1: recvJSONMsg: [34] ["callback",33,["",[[],[],[],[]]]]
2020-02-10T11:41:03.007817_#1: vim end =======================
2020-02-10T11:41:03.007855_#1: run: waiting to read a JSON message
2020-02-10T11:41:03.008016_#1: vim start =======================
2020-02-10T11:41:03.008016_#1: sendJSONMsg: [0,[34,"call","s:batchCall",[["call","s:mustNothing","sign_define","GOVIMSignErr",{"text":"\u003e\u003e","texthl":"GOVIMSignErr"}],["call","s:mustNothing","sign_define","GOVIMSignWarn",{"text":"\u003e\u003e","texthl":"GOVIMSignWarn"}],["call","s:mustNothing","sign_define","GOVIMSignInfo",{"text":"\u003e\u003e","texthl":"GOVIMSignInfo"}],["call","s:mustNothing","sign_define","GOVIMSignHint",{"text":"\u003e\u003e","texthl":"GOVIMSignHint"}]]]]
2020-02-10T11:41:03.008016_#1: vim end =======================
2020-02-10T11:41:03.008330_#1: vim start =======================
2020-02-10T11:41:03.008330_#1: recvJSONMsg: [35] ["callback",34,["",[0,0,0,0]]]
2020-02-10T11:41:03.008330_#1: vim end =======================
2020-02-10T11:41:03.008358_#1: run: waiting to read a JSON message
2020-02-10T11:41:03.008471_#1: vim start =======================
2020-02-10T11:41:03.008471_#1: sendJSONMsg: [0,[35,"call","s:batchCall",[["call","s:mustNothing","prop_type_add","GOVIMErr",{"highlight":"GOVIMErr","combine":true,"priority":14}],["call","s:mustNothing","prop_type_add","GOVIMHoverErr",{"highlight":"GOVIMHoverErr","combine":true,"priority":14}],["call","s:mustNothing","prop_type_add","GOVIMWarn",{"highlight":"GOVIMWarn","combine":true,"priority":12}],["call","s:mustNothing","prop_type_add","GOVIMHoverWarn",{"highlight":"GOVIMHoverWarn","combine":true,"priority":12}],["call","s:mustNothing","prop_type_add","GOVIMInfo",{"highlight":"GOVIMInfo","combine":true,"priority":10}],["call","s:mustNothing","prop_type_add","GOVIMHoverInfo",{"highlight":"GOVIMHoverInfo","combine":true,"priority":10}],["call","s:mustNothing","prop_type_add","GOVIMHint",{"highlight":"GOVIMHint","combine":true,"priority":8}],["call","s:mustNothing","prop_type_add","GOVIMHoverHint",{"highlight":"GOVIMHoverHint","combine":true,"priority":8}],["call","s:mustNothing","prop_type_add","GOVIMHoverDiagSrc",{"highlight":"GOVIMHoverDiagSrc","combine":true,"priority":15}]]]]
2020-02-10T11:41:03.008471_#1: vim end =======================
2020-02-10T11:41:03.008912_#1: vim start =======================
2020-02-10T11:41:03.008912_#1: recvJSONMsg: [36] ["callback",35,["",[0,0,0,0,0,0,0,0,0]]]
2020-02-10T11:41:03.008912_#1: vim end =======================
2020-02-10T11:41:03.008942_#1: run: waiting to read a JSON message
2020-02-10T11:41:03.008963_#1: vim start =======================
2020-02-10T11:41:03.008963_#1: sendJSONMsg: [0,[36,"function","GOVIMMotion",["direction","target"]]]
2020-02-10T11:41:03.008963_#1: vim end =======================
2020-02-10T11:41:03.009172_#1: vim start =======================
2020-02-10T11:41:03.009172_#1: recvJSONMsg: [37] ["callback",36,[""]]
2020-02-10T11:41:03.009172_#1: vim end =======================
2020-02-10T11:41:03.009197_#1: run: waiting to read a JSON message
2020-02-10T11:41:03.009208_#1: vim start =======================
2020-02-10T11:41:03.009208_#1: sendJSONMsg: [0,[37,"expr","has(\"gui_running\")"]]
2020-02-10T11:41:03.009208_#1: vim end =======================
2020-02-10T11:41:03.009444_#1: vim start =======================
2020-02-10T11:41:03.009444_#1: recvJSONMsg: [38] ["callback",37,["",0]]
2020-02-10T11:41:03.009444_#1: vim end =======================
2020-02-10T11:41:03.009473_#1: run: waiting to read a JSON message
2020-02-10T11:41:03.009673_#1: gopls log file: /tmp/gopls_20200210_1141_03_889162069.log
2020-02-10T11:41:03.009689_#1: vim start =======================
2020-02-10T11:41:03.009689_#1: sendJSONMsg: [0,[38,"ex","let s:gopls_logfile=\"/tmp/gopls_20200210_1141_03_889162069.log\""]]
2020-02-10T11:41:03.009689_#1: vim end =======================
2020-02-10T11:41:03.009817_#1: vim start =======================
2020-02-10T11:41:03.009817_#1: recvJSONMsg: [39] ["callback",38,[""]]
2020-02-10T11:41:03.009817_#1: vim end =======================
2020-02-10T11:41:03.009841_#1: run: waiting to read a JSON message
2020-02-10T11:41:03.009905_#1: Running gopls: /var/home/elias/.vim/pack/plugins/start/govim/cmd/govim/.bin/37000c211610ed400cf39159af8d62077171c95b/gopls -rpc.trace -logfile /tmp/gopls_20200210_1141_03_889162069.log
2020-02-10T11:41:03.011143_#1: gopls server start =======================
2020-02-10T11:41:03.011143_#1: gopls.Initialize() call; params:
2020-02-10T11:41:03.011143_#1: &protocol.ParamInitialize{
2020-02-10T11:41:03.011143_#1: InitializeParams: struct { protocol.InnerInitializeParams; protocol.WorkspaceFoldersInitializeParams }{
2020-02-10T11:41:03.011143_#1: InnerInitializeParams: protocol.InnerInitializeParams{
2020-02-10T11:41:03.011143_#1: ProcessID: 0,
2020-02-10T11:41:03.011143_#1: ClientInfo: struct { Name string "json:\"name\""; Version string "json:\"version,omitempty\"" }{},
2020-02-10T11:41:03.011143_#1: RootPath: "",
2020-02-10T11:41:03.011143_#1: RootURI: "file:///var/home/elias/proj/gio/gpu",
2020-02-10T11:41:03.011143_#1: Capabilities: struct { Workspace struct { protocol.WorkspaceClientCapabilities; WorkspaceFolders bool "json:\"workspaceFolders,omitempty\""; Configuration bool "json:\"configuration,omitempty\"" }; TextDocument protocol.TextDocumentClientCapabilities "json:\"textDocument,omitempty\""; Window struct { Window interface {} "json:\"window,omitempty\""; WorkDoneProgress bool "json:\"workDoneProgress,omitempty\"" }; Experimental interface {} "json:\"experimental,omitempty\"" }{
2020-02-10T11:41:03.011143_#1: Workspace: struct { protocol.WorkspaceClientCapabilities; WorkspaceFolders bool "json:\"workspaceFolders,omitempty\""; Configuration bool "json:\"configuration,omitempty\"" }{
2020-02-10T11:41:03.011143_#1: WorkspaceClientCapabilities: protocol.WorkspaceClientCapabilities{
2020-02-10T11:41:03.011143_#1: ApplyEdit: false,
2020-02-10T11:41:03.011143_#1: WorkspaceEdit: protocol.WorkspaceEditClientCapabilities{},
2020-02-10T11:41:03.011143_#1: DidChangeConfiguration: protocol.DidChangeConfigurationClientCapabilities{DynamicRegistration:true},
2020-02-10T11:41:03.011143_#1: DidChangeWatchedFiles: protocol.DidChangeWatchedFilesClientCapabilities{DynamicRegistration:true},
2020-02-10T11:41:03.011143_#1: Symbol: protocol.WorkspaceSymbolClientCapabilities{},
2020-02-10T11:41:03.011143_#1: ExecuteCommand: protocol.ExecuteCommandClientCapabilities{},
2020-02-10T11:41:03.011143_#1: },
2020-02-10T11:41:03.011143_#1: WorkspaceFolders: false,
2020-02-10T11:41:03.011143_#1: Configuration: true,
2020-02-10T11:41:03.011143_#1: },
2020-02-10T11:41:03.011143_#1: TextDocument: protocol.TextDocumentClientCapabilities{
2020-02-10T11:41:03.011143_#1: Synchronization: protocol.TextDocumentSyncClientCapabilities{},
2020-02-10T11:41:03.011143_#1: Completion: protocol.CompletionClientCapabilities{},
2020-02-10T11:41:03.011143_#1: Hover: protocol.HoverClientCapabilities{
2020-02-10T11:41:03.011143_#1: DynamicRegistration: false,
2020-02-10T11:41:03.011143_#1: ContentFormat: {"plaintext"},
2020-02-10T11:41:03.011143_#1: },
2020-02-10T11:41:03.011143_#1: SignatureHelp: protocol.SignatureHelpClientCapabilities{},
2020-02-10T11:41:03.011143_#1: Declaration: protocol.DeclarationClientCapabilities{},
2020-02-10T11:41:03.011143_#1: Definition: protocol.DefinitionClientCapabilities{},
2020-02-10T11:41:03.011143_#1: TypeDefinition: protocol.TypeDefinitionClientCapabilities{},
2020-02-10T11:41:03.011143_#1: Implementation: protocol.ImplementationClientCapabilities{},
2020-02-10T11:41:03.011143_#1: References: protocol.ReferenceClientCapabilities{},
2020-02-10T11:41:03.011143_#1: DocumentHighlight: protocol.DocumentHighlightClientCapabilities{},
2020-02-10T11:41:03.011143_#1: DocumentSymbol: protocol.DocumentSymbolClientCapabilities{},
2020-02-10T11:41:03.011143_#1: CodeAction: protocol.CodeActionClientCapabilities{},
2020-02-10T11:41:03.011143_#1: CodeLens: protocol.CodeLensClientCapabilities{},
2020-02-10T11:41:03.011143_#1: DocumentLink: protocol.DocumentLinkClientCapabilities{},
2020-02-10T11:41:03.011143_#1: ColorProvider: protocol.DocumentColorClientCapabilities{},
2020-02-10T11:41:03.011143_#1: Formatting: protocol.DocumentFormattingClientCapabilities{},
2020-02-10T11:41:03.011143_#1: RangeFormatting: protocol.DocumentRangeFormattingClientCapabilities{},
2020-02-10T11:41:03.011143_#1: OnTypeFormatting: protocol.DocumentOnTypeFormattingClientCapabilities{},
2020-02-10T11:41:03.011143_#1: Rename: protocol.RenameClientCapabilities{},
2020-02-10T11:41:03.011143_#1: FoldingRange: protocol.FoldingRangeClientCapabilities{},
2020-02-10T11:41:03.011143_#1: SelectionRange: protocol.SelectionRangeClientCapabilities{},
2020-02-10T11:41:03.011143_#1: PublishDiagnostics: protocol.PublishDiagnosticsClientCapabilities{},
2020-02-10T11:41:03.011143_#1: },
2020-02-10T11:41:03.011143_#1: Window: struct { Window interface {} "json:\"window,omitempty\""; WorkDoneProgress bool "json:\"workDoneProgress,omitempty\"" }{},
2020-02-10T11:41:03.011143_#1: Experimental: nil,
2020-02-10T11:41:03.011143_#1: },
2020-02-10T11:41:03.011143_#1: InitializationOptions: map[string]interface {}{
2020-02-10T11:41:03.011143_#1: "incrementalSync": bool(true),
2020-02-10T11:41:03.011143_#1: "noDocsOnHover": bool(true),
2020-02-10T11:41:03.011143_#1: },
2020-02-10T11:41:03.011143_#1: Trace: "",
2020-02-10T11:41:03.011143_#1: WorkDoneProgressParams: protocol.WorkDoneProgressParams{},
2020-02-10T11:41:03.011143_#1: },
2020-02-10T11:41:03.011143_#1: WorkspaceFoldersInitializeParams: protocol.WorkspaceFoldersInitializeParams{},
2020-02-10T11:41:03.011143_#1: },
2020-02-10T11:41:03.011143_#1: WorkDoneProgressParams: protocol.WorkDoneProgressParams{},
2020-02-10T11:41:03.011143_#1: }
2020-02-10T11:41:03.011143_#1: gopls server end =======================
2020-02-10T11:41:03.020846_#1: gopls server start =======================
2020-02-10T11:41:03.020846_#1: gopls.Initialize() return; err: <nil>; res:
2020-02-10T11:41:03.020846_#1: &protocol.InitializeResult{
2020-02-10T11:41:03.020846_#1: Capabilities: struct { TextDocumentSync interface {} "json:\"textDocumentSync,omitempty\""; CompletionProvider protocol.CompletionOptions "json:\"completionProvider,omitempty\""; HoverProvider bool "json:\"hoverProvider,omitempty\""; SignatureHelpProvider protocol.SignatureHelpOptions "json:\"signatureHelpProvider,omitempty\""; DeclarationProvider interface {} "json:\"declarationProvider,omitempty\""; DefinitionProvider bool "json:\"definitionProvider,omitempty\""; TypeDefinitionProvider interface {} "json:\"typeDefinitionProvider,omitempty\""; ImplementationProvider interface {} "json:\"implementationProvider,omitempty\""; ReferencesProvider bool "json:\"referencesProvider,omitempty\""; DocumentHighlightProvider bool "json:\"documentHighlightProvider,omitempty\""; DocumentSymbolProvider bool "json:\"documentSymbolProvider,omitempty\""; CodeActionProvider interface {} "json:\"codeActionProvider,omitempty\""; CodeLensProvider protocol.CodeLensOptions "json:\"codeLensProvider,omitempty\""; DocumentLinkProvider protocol.DocumentLinkOptions "json:\"documentLinkProvider,omitempty\""; ColorProvider interface {} "json:\"colorProvider,omitempty\""; WorkspaceSymbolProvider bool "json:\"workspaceSymbolProvider,omitempty\""; DocumentFormattingProvider bool "json:\"documentFormattingProvider,omitempty\""; DocumentRangeFormattingProvider bool "json:\"documentRangeFormattingProvider,omitempty\""; DocumentOnTypeFormattingProvider protocol.DocumentOnTypeFormattingOptions "json:\"documentOnTypeFormattingProvider,omitempty\""; RenameProvider interface {} "json:\"renameProvider,omitempty\""; FoldingRangeProvider interface {} "json:\"foldingRangeProvider,omitempty\""; SelectionRangeProvider interface {} "json:\"selectionRangeProvider,omitempty\""; ExecuteCommandProvider protocol.ExecuteCommandOptions "json:\"executeCommandProvider,omitempty\""; Experimental interface {} "json:\"experimental,omitempty\""; Workspace protocol.WorkspaceGn "json:\"workspace,omitempty\"" }{
2020-02-10T11:41:03.020846_#1: TextDocumentSync: map[string]interface {}{
2020-02-10T11:41:03.020846_#1: "openClose": bool(true),
2020-02-10T11:41:03.020846_#1: "change": float64(2),
2020-02-10T11:41:03.020846_#1: "save": map[string]interface {}{
2020-02-10T11:41:03.020846_#1: },
2020-02-10T11:41:03.020846_#1: },
2020-02-10T11:41:03.020846_#1: CompletionProvider: protocol.CompletionOptions{
2020-02-10T11:41:03.020846_#1: TriggerCharacters: {"."},
2020-02-10T11:41:03.020846_#1: AllCommitCharacters: nil,
2020-02-10T11:41:03.020846_#1: ResolveProvider: false,
2020-02-10T11:41:03.020846_#1: WorkDoneProgressOptions: protocol.WorkDoneProgressOptions{},
2020-02-10T11:41:03.020846_#1: },
2020-02-10T11:41:03.020846_#1: HoverProvider: true,
2020-02-10T11:41:03.020846_#1: SignatureHelpProvider: protocol.SignatureHelpOptions{
2020-02-10T11:41:03.020846_#1: TriggerCharacters: {"(", ","},
2020-02-10T11:41:03.020846_#1: RetriggerCharacters: nil,
2020-02-10T11:41:03.020846_#1: WorkDoneProgressOptions: protocol.WorkDoneProgressOptions{},
2020-02-10T11:41:03.020846_#1: },
2020-02-10T11:41:03.020846_#1: DeclarationProvider: nil,
2020-02-10T11:41:03.020846_#1: DefinitionProvider: true,
2020-02-10T11:41:03.020846_#1: TypeDefinitionProvider: bool(true),
2020-02-10T11:41:03.020846_#1: ImplementationProvider: bool(true),
2020-02-10T11:41:03.020846_#1: ReferencesProvider: true,
2020-02-10T11:41:03.020846_#1: DocumentHighlightProvider: true,
2020-02-10T11:41:03.020846_#1: DocumentSymbolProvider: true,
2020-02-10T11:41:03.020846_#1: CodeActionProvider: bool(true),
2020-02-10T11:41:03.020846_#1: CodeLensProvider: protocol.CodeLensOptions{},
2020-02-10T11:41:03.020846_#1: DocumentLinkProvider: protocol.DocumentLinkOptions{},
2020-02-10T11:41:03.020846_#1: ColorProvider: nil,
2020-02-10T11:41:03.020846_#1: WorkspaceSymbolProvider: true,
2020-02-10T11:41:03.020846_#1: DocumentFormattingProvider: true,
2020-02-10T11:41:03.020846_#1: DocumentRangeFormattingProvider: false,
2020-02-10T11:41:03.020846_#1: DocumentOnTypeFormattingProvider: protocol.DocumentOnTypeFormattingOptions{},
2020-02-10T11:41:03.020846_#1: RenameProvider: bool(true),
2020-02-10T11:41:03.020846_#1: FoldingRangeProvider: bool(true),
2020-02-10T11:41:03.020846_#1: SelectionRangeProvider: nil,
2020-02-10T11:41:03.020846_#1: ExecuteCommandProvider: protocol.ExecuteCommandOptions{
2020-02-10T11:41:03.020846_#1: Commands: {"tidy"},
2020-02-10T11:41:03.020846_#1: WorkDoneProgressOptions: protocol.WorkDoneProgressOptions{},
2020-02-10T11:41:03.020846_#1: },
2020-02-10T11:41:03.020846_#1: Experimental: nil,
2020-02-10T11:41:03.020846_#1: Workspace: protocol.WorkspaceGn{
2020-02-10T11:41:03.020846_#1: WorkspaceFolders: protocol.WorkspaceFoldersGn{Supported:true, ChangeNotifications:"workspace/didChangeWorkspaceFolders"},
2020-02-10T11:41:03.020846_#1: },
2020-02-10T11:41:03.020846_#1: },
2020-02-10T11:41:03.020846_#1: ServerInfo: struct { Name string "json:\"name\""; Version string "json:\"version,omitempty\"" }{},
2020-02-10T11:41:03.020846_#1: }
2020-02-10T11:41:03.020846_#1: gopls server end =======================
2020-02-10T11:41:03.020897_#1: gopls server start =======================
2020-02-10T11:41:03.020897_#1: gopls.Initialized() call; params:
2020-02-10T11:41:03.020897_#1: &protocol.InitializedParams{}
2020-02-10T11:41:03.020897_#1: gopls server end =======================
2020-02-10T11:41:03.020933_#1: gopls server start =======================
2020-02-10T11:41:03.020933_#1: gopls.Initialized() return; err: <nil>
2020-02-10T11:41:03.020933_#1: gopls server end =======================
2020-02-10T11:41:03.021366_#1: gopls client start =======================
2020-02-10T11:41:03.021366_#1: RegisterCapability: &protocol.RegistrationParams{
2020-02-10T11:41:03.021366_#1: Registrations: {
2020-02-10T11:41:03.021366_#1: {
2020-02-10T11:41:03.021366_#1: ID: "workspace/didChangeConfiguration",
2020-02-10T11:41:03.021366_#1: Method: "workspace/didChangeConfiguration",
2020-02-10T11:41:03.021366_#1: RegisterOptions: nil,
2020-02-10T11:41:03.021366_#1: },
2020-02-10T11:41:03.021366_#1: {
2020-02-10T11:41:03.021366_#1: ID: "workspace/didChangeWorkspaceFolders",
2020-02-10T11:41:03.021366_#1: Method: "workspace/didChangeWorkspaceFolders",
2020-02-10T11:41:03.021366_#1: RegisterOptions: nil,
2020-02-10T11:41:03.021366_#1: },
2020-02-10T11:41:03.021366_#1: {
2020-02-10T11:41:03.021366_#1: ID: "workspace/didChangeWatchedFiles",
2020-02-10T11:41:03.021366_#1: Method: "workspace/didChangeWatchedFiles",
2020-02-10T11:41:03.021366_#1: RegisterOptions: map[string]interface {}{
2020-02-10T11:41:03.021366_#1: "watchers": []interface {}{
2020-02-10T11:41:03.021366_#1: map[string]interface {}{
2020-02-10T11:41:03.021366_#1: "globPattern": "**/*.go",
2020-02-10T11:41:03.021366_#1: "kind": float64(7),
2020-02-10T11:41:03.021366_#1: },
2020-02-10T11:41:03.021366_#1: },
2020-02-10T11:41:03.021366_#1: },
2020-02-10T11:41:03.021366_#1: },
2020-02-10T11:41:03.021366_#1: },
2020-02-10T11:41:03.021366_#1: }
2020-02-10T11:41:03.021366_#1: gopls client end =======================
2020-02-10T11:41:03.063015_#1: gopls client start =======================
2020-02-10T11:41:03.063015_#1: Configuration: &protocol.ParamConfiguration{
2020-02-10T11:41:03.063015_#1: ConfigurationParams: protocol.ConfigurationParams{
2020-02-10T11:41:03.063015_#1: Items: {
2020-02-10T11:41:03.063015_#1: {ScopeURI:"file:///var/home/elias/proj/gio/gpu", Section:"gopls"},
2020-02-10T11:41:03.063015_#1: {ScopeURI:"file:///var/home/elias/proj/gio/gpu", Section:"gopls-gpu"},
2020-02-10T11:41:03.063015_#1: },
2020-02-10T11:41:03.063015_#1: },
2020-02-10T11:41:03.063015_#1: PartialResultParams: protocol.PartialResultParams{},
2020-02-10T11:41:03.063015_#1: }
2020-02-10T11:41:03.063015_#1: gopls client end =======================
2020-02-10T11:41:03.063105_#1: gopls client start =======================
2020-02-10T11:41:03.063105_#1: Configuration response: []interface {}{
2020-02-10T11:41:03.063105_#1: map[string]interface {}{
2020-02-10T11:41:03.063105_#1: "hoverKind": "FullDocumentation",
2020-02-10T11:41:03.063105_#1: "staticcheck": bool(false),
2020-02-10T11:41:03.063105_#1: },
2020-02-10T11:41:03.063105_#1: nil,
2020-02-10T11:41:03.063105_#1: }
2020-02-10T11:41:03.063105_#1: gopls client end =======================
2020-02-10T11:41:03.063291_#1: gopls client start =======================
2020-02-10T11:41:03.063291_#1: LogMessage callback: &protocol.LogMessageParams{Type:3, Message:"2020/02/10 11:41:03 Build info\n----------\ngolang.org/x/tools/gopls master\n golang.org/x/tools/[email protected] h1:V3ABhXpAFB0qbpexApTq5KKq6VCwsAfW7oyOW4XTpho=\n github.com/BurntSushi/[email protected] h1:WXkYYl6Yr3qBf1K79EBnL4mak0OimBfB0XUf9Vl28OQ=\n github.com/sergi/[email protected] h1:Kpca3qRNrduNnOQeazBd0ysaKrUJiIuISHxogkT9RPQ=\n golang.org/x/[email protected] h1:WG0RUwxtNT4qqaXX3DPA8zHFNm/D9xaBpxzHt1WcA/E=\n golang.org/x/[email protected] h1:8gQV6CLnAEikrhgkHFbMAEhagSSnXWGV915qUMm9mrU=\n golang.org/x/[email protected] h1:e2097s5ZlmbJkGiqRuZb4/YoM3h8n6Ih8hdaA2ujek8=\n golang.org/x/[email protected] h1:/atklqdjdhuosWIl6AIbOeHJjicWYPqR9bpxqxYG2pA=\n honnef.co/go/[email protected] h1:3JgtbtFHMiCmsznwGVTUWbgGov+pVqnlf1dEJTNAXeM=\n mvdan.cc/xurls/[email protected] h1:KaMb5GLhlcSX+e+qhbRJODnUUBvlw01jt4yrjFIHAuA=\n\nGo info\n-------\ngo version devel +d2de9bd59c Thu Jan 16 04:02:37 2020 +0000 linux/amd64\n\nGO111MODULE=\"on\"\nGOARCH=\"amd64\"\nGOBIN=\"\"\nGOCACHE=\"/home/elias/.cache/go-build\"\nGOENV=\"/home/elias/.config/go/env\"\nGOEXE=\"\"\nGOFLAGS=\"-mod=readonly\"\nGOHOSTARCH=\"amd64\"\nGOHOSTOS=\"linux\"\nGOINSECURE=\"\"\nGONOPROXY=\"\"\nGONOSUMDB=\"\"\nGOOS=\"linux\"\nGOPATH=\"/home/elias/go\"\nGOPRIVATE=\"\"\nGOPROXY=\"https://proxy.golang.org,direct\"\nGOROOT=\"/var/home/elias/dev/go-tip\"\nGOSUMDB=\"sum.golang.org\"\nGOTMPDIR=\"\"\nGOTOOLDIR=\"/var/home/elias/dev/go-tip/pkg/tool/linux_amd64\"\nGCCGO=\"gccgo\"\nAR=\"ar\"\nCC=\"gcc\"\nCXX=\"g++\"\nCGO_ENABLED=\"1\"\nGOMOD=\"/var/home/elias/proj/gio/go.mod\"\nCGO_CFLAGS=\"-g -O2\"\nCGO_CPPFLAGS=\"\"\nCGO_CXXFLAGS=\"-g -O2\"\nCGO_FFLAGS=\"-g -O2\"\nCGO_LDFLAGS=\"-g -O2\"\nPKG_CONFIG=\"pkg-config\"\nGOGCCFLAGS=\"-fPIC -m64 -pthread -fmessage-length=0 -fdebug-prefix-map=/tmp/go-build514967706=/tmp/go-build -gno-record-gcc-switches\"\n"}
2020-02-10T11:41:03.063291_#1: gopls client end =======================
2020-02-10T11:41:03.069630_#1: vim start =======================
2020-02-10T11:41:03.069630_#1: sendJSONMsg: [0,[39,"initcomplete"]]
2020-02-10T11:41:03.069630_#1: vim end =======================
2020-02-10T11:41:03.071341_#1: vim start =======================
2020-02-10T11:41:03.071341_#1: recvJSONMsg: [40] ["callback",39,[""]]
2020-02-10T11:41:03.071341_#1: vim end =======================
2020-02-10T11:41:03.071425_#1: run: waiting to read a JSON message
2020-02-10T11:41:03.167502_#1: gopls client start =======================
2020-02-10T11:41:03.167502_#1: LogMessage callback: &protocol.LogMessageParams{Type:3, Message:"2020/02/10 11:41:03 go/packages.Load\n\tsnapshot = 0\n\tquery = [./... builtin]\n\tpackages = 5"}
2020-02-10T11:41:03.167502_#1: gopls client end =======================
2020-02-10T11:41:04.879960_#1: vim start =======================
2020-02-10T11:41:04.879960_#1: recvJSONMsg: [41] ["function","autocommand:0",[1]]
2020-02-10T11:41:04.879960_#1: vim end =======================
2020-02-10T11:41:04.880178_#1: run: waiting to read a JSON message
2020-02-10T11:41:04.880419_#1: vim start =======================
2020-02-10T11:41:04.880419_#1: sendJSONMsg: [41,["",null]]
2020-02-10T11:41:04.880419_#1: vim end =======================
2020-02-10T11:41:04.890643_#1: vim start =======================
2020-02-10T11:41:04.890643_#1: recvJSONMsg: [42] ["function","autocommand:1",[{"Num":1,"Name":"/var/home/elias/proj/gio/app/internal/egl/egl.go","Loaded":1,"Contents":"// SPDX-License-Identifier: Unlicense OR MIT\n\n// +build linux windows freebsd openbsd\n\npackage egl\n\nimport (\n\t\"errors\"\n\t\"fmt\"\n\t\"runtime\"\n\t\"strings\"\n\n\t\"gioui.org/app/internal/glimpl\"\n\t\"gioui.org/gpu/gl\"\n)\n\ntype Context struct {\n\tc gl.Functions\n\tdisp _EGLDisplay\n\teglCtx *eglContext\n\teglSurf _EGLSurface\n\twidth, height int\n\trefreshFBO bool\n\t// For sRGB emulation.\n\tsrgbFBO *gl.SRGBFBO\n}\n\ntype eglContext struct {\n\tconfig _EGLConfig\n\tctx _EGLContext\n\tvisualID int\n\tsrgb bool\n\tsurfaceless bool\n}\n\nvar (\n\tnilEGLDisplay _EGLDisplay\n\tnilEGLSurface _EGLSurface\n\tnilEGLContext _EGLContext\n\tnilEGLConfig _EGLConfig\n\tnilEGLNativeWindowType NativeWindowType\n\tEGL_DEFAULT_DISPLAY NativeDisplayType\n)\n\nconst (\n\t_EGL_ALPHA_SIZE = 0x3021\n\t_EGL_BLUE_SIZE = 0x3022\n\t_EGL_CONFIG_CAVEAT = 0x3027\n\t_EGL_CONTEXT_CLIENT_VERSION = 0x3098\n\t_EGL_DEPTH_SIZE = 0x3025\n\t_EGL_GL_COLORSPACE_KHR = 0x309d\n\t_EGL_GL_COLORSPACE_SRGB_KHR = 0x3089\n\t_EGL_GREEN_SIZE = 0x3023\n\t_EGL_EXTENSIONS = 0x3055\n\t_EGL_NATIVE_VISUAL_ID = 0x302e\n\t_EGL_NONE = 0x3038\n\t_EGL_OPENGL_ES2_BIT = 0x4\n\t_EGL_RED_SIZE = 0x3024\n\t_EGL_RENDERABLE_TYPE = 0x3040\n\t_EGL_SURFACE_TYPE = 0x3033\n\t_EGL_WINDOW_BIT = 0x4\n)\n\nfunc (c *Context) Release() {\n\tif c.srgbFBO != nil {\n\t\tc.srgbFBO.Release()\n\t\tc.srgbFBO = nil\n\t}\n\tc.ReleaseSurface()\n\tif c.eglCtx != nil {\n\t\teglDestroyContext(c.disp, c.eglCtx.ctx)\n\t\teglTerminate(c.disp)\n\t\teglReleaseThread()\n\t\tc.eglCtx = nil\n\t}\n\tc.disp = nilEGLDisplay\n}\n\nfunc (c *Context) Present() error {\n\tif c.srgbFBO != nil {\n\t\tc.srgbFBO.Blit()\n\t}\n\tif !eglSwapBuffers(c.disp, c.eglSurf) {\n\t\treturn fmt.Errorf(\"eglSwapBuffers failed (%x)\", eglGetError())\n\t}\n\tif c.srgbFBO != nil {\n\t\tc.srgbFBO.AfterPresent()\n\t}\n\treturn nil\n}\n\nfunc NewContext(disp NativeDisplayType) (*Context, error) {\n\tif err := loadEGL(); err != nil {\n\t\treturn nil, err\n\t}\n\teglDisp := eglGetDisplay(disp)\n\t// eglGetDisplay can return EGL_NO_DISPLAY yet no error\n\t// (EGL_SUCCESS), in which case a default EGL display might be\n\t// available.\n\tif eglDisp == nilEGLDisplay {\n\t\teglDisp = eglGetDisplay(EGL_DEFAULT_DISPLAY)\n\t}\n\tif eglDisp == nilEGLDisplay {\n\t\treturn nil, fmt.Errorf(\"eglGetDisplay failed: 0x%x\", eglGetError())\n\t}\n\teglCtx, err := createContext(eglDisp)\n\tif err != nil {\n\t\treturn nil, err\n\t}\n\tc := &Context{\n\t\tdisp: eglDisp,\n\t\teglCtx: eglCtx,\n\t\tc: new(glimpl.Functions),\n\t}\n\treturn c, nil\n}\n\nfunc (c *Context) Functions() gl.Functions {\n\treturn c.c\n}\n\nfunc (c *Context) ReleaseSurface() {\n\tif c.eglSurf == nilEGLSurface {\n\t\treturn\n\t}\n\t// Make sure any in-flight GL commands are complete.\n\tc.c.Finish()\n\tc.ReleaseCurrent()\n\teglDestroySurface(c.disp, c.eglSurf)\n\tc.eglSurf = nilEGLSurface\n}\n\nfunc (c *Context) VisualID() int {\n\treturn c.eglCtx.visualID\n}\n\nfunc (c *Context) CreateSurface(win NativeWindowType, width, height int) error {\n\teglSurf, err := createSurface(c.disp, c.eglCtx, win)\n\tc.eglSurf = eglSurf\n\tc.width = width\n\tc.height = height\n\tc.refreshFBO = true\n\treturn err\n}\n\nfunc (c *Context) ReleaseCurrent() {\n\tif c.disp != nilEGLDisplay {\n\t\teglMakeCurrent(c.disp, nilEGLSurface, nilEGLSurface, nilEGLContext)\n\t}\n}\n\nfunc (c *Context) MakeCurrent() error {\n\tif c.eglSurf == nilEGLSurface && !c.eglCtx.surfaceless {\n\t\treturn errors.New(\"no surface created yet EGL_KHR_surfaceless_context is not supported\")\n\t}\n\tif !eglMakeCurrent(c.disp, c.eglSurf, c.eglSurf, c.eglCtx.ctx) {\n\t\treturn fmt.Errorf(\"eglMakeCurrent error 0x%x\", eglGetError())\n\t}\n\tif c.eglCtx.srgb || c.eglSurf == nilEGLSurface {\n\t\treturn nil\n\t}\n\tif c.srgbFBO == nil {\n\t\tvar err error\n\t\tc.srgbFBO, err = gl.NewSRGBFBO(c.c)\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t}\n\tif c.refreshFBO {\n\t\tc.refreshFBO = false\n\t\treturn c.srgbFBO.Refresh(c.width, c.height)\n\t}\n\treturn nil\n}\n\nfunc (c *Context) EnableVSync(enable bool) {\n\tif enable {\n\t\teglSwapInterval(c.disp, 1)\n\t} else {\n\t\teglSwapInterval(c.disp, 0)\n\t}\n}\n\nfunc hasExtension(exts []string, ext string) bool {\n\tfor _, e := range exts {\n\t\tif ext == e {\n\t\t\treturn true\n\t\t}\n\t}\n\treturn false\n}\n\nfunc createContext(disp _EGLDisplay) (*eglContext, error) {\n\tmajor, minor, ret := eglInitialize(disp)\n\tif !ret {\n\t\treturn nil, fmt.Errorf(\"eglInitialize failed: 0x%x\", eglGetError())\n\t}\n\t// sRGB framebuffer support on EGL 1.5 or if EGL_KHR_gl_colorspace is supported.\n\texts := strings.Split(eglQueryString(disp, _EGL_EXTENSIONS), \" \")\n\tsrgb := major > 1 || minor >= 5 || hasExtension(exts, \"EGL_KHR_gl_colorspace\")\n\tattribs := []_EGLint{\n\t\t_EGL_RENDERABLE_TYPE, _EGL_OPENGL_ES2_BIT,\n\t\t_EGL_SURFACE_TYPE, _EGL_WINDOW_BIT,\n\t\t_EGL_BLUE_SIZE, 8,\n\t\t_EGL_GREEN_SIZE, 8,\n\t\t_EGL_RED_SIZE, 8,\n\t\t_EGL_CONFIG_CAVEAT, _EGL_NONE,\n\t}\n\tsrgb = false\n\tif srgb {\n\t\tif runtime.GOOS == \"linux\" {\n\t\t\t// Some Mesa drivers crash if an sRGB framebuffer is requested without alpha.\n\t\t\t// https://bugs.freedesktop.org/show_bug.cgi?id=107782.\n\t\t\tattribs = append(attribs, _EGL_ALPHA_SIZE, 1)\n\t\t}\n\t\t// Only request a depth buffer if we're going to render directly to the framebuffer.\n\t\tattribs = append(attribs, _EGL_DEPTH_SIZE, 16)\n\t}\n\tattribs = append(attribs, _EGL_NONE)\n\teglCfg, ret := eglChooseConfig(disp, attribs)\n\tif !ret {\n\t\treturn nil, fmt.Errorf(\"eglChooseConfig failed: 0x%x\", eglGetError())\n\t}\n\tif eglCfg == nilEGLConfig {\n\t\treturn nil, errors.New(\"eglChooseConfig returned 0 configs\")\n\t}\n\tvisID, ret := eglGetConfigAttrib(disp, eglCfg, _EGL_NATIVE_VISUAL_ID)\n\tif !ret {\n\t\treturn nil, errors.New(\"newContext: eglGetConfigAttrib for _EGL_NATIVE_VISUAL_ID failed\")\n\t}\n\tctxAttribs := []_EGLint{\n\t\t_EGL_CONTEXT_CLIENT_VERSION, 3,\n\t\t_EGL_NONE,\n\t}\n\teglCtx := eglCreateContext(disp, eglCfg, nilEGLContext, ctxAttribs)\n\tif eglCtx == nilEGLContext {\n\t\t// Fall back to OpenGL ES 2 and rely on extensions.\n\t\tctxAttribs := []_EGLint{\n\t\t\t_EGL_CONTEXT_CLIENT_VERSION, 2,\n\t\t\t_EGL_NONE,\n\t\t}\n\t\teglCtx = eglCreateContext(disp, eglCfg, nilEGLContext, ctxAttribs)\n\t\tif eglCtx == nilEGLContext {\n\t\t\treturn nil, fmt.Errorf(\"eglCreateContext failed: 0x%x\", eglGetError())\n\t\t}\n\t}\n\treturn &eglContext{\n\t\tconfig: _EGLConfig(eglCfg),\n\t\tctx: _EGLContext(eglCtx),\n\t\tvisualID: int(visID),\n\t\tsrgb: srgb,\n\t\tsurfaceless: hasExtension(exts, \"EGL_KHR_surfaceless_context\"),\n\t}, nil\n}\n\nfunc createSurface(disp _EGLDisplay, eglCtx *eglContext, win NativeWindowType) (_EGLSurface, error) {\n\tvar surfAttribs []_EGLint\n\tif eglCtx.srgb {\n\t\tsurfAttribs = append(surfAttribs, _EGL_GL_COLORSPACE_KHR, _EGL_GL_COLORSPACE_SRGB_KHR)\n\t}\n\tsurfAttribs = append(surfAttribs, _EGL_NONE)\n\teglSurf := eglCreateWindowSurface(disp, eglCtx.config, win, surfAttribs)\n\tif eglSurf == nilEGLSurface && eglCtx.srgb {\n\t\t// Try again without sRGB\n\t\teglCtx.srgb = false\n\t\tsurfAttribs = []_EGLint{_EGL_NONE}\n\t\teglSurf = eglCreateWindowSurface(disp, eglCtx.config, win, surfAttribs)\n\t}\n\tif eglSurf == nilEGLSurface {\n\t\treturn nilEGLSurface, fmt.Errorf(\"newContext: eglCreateWindowSurface failed 0x%x (sRGB=%v)\", eglGetError(), eglCtx.srgb)\n\t}\n\treturn eglSurf, nil\n}\n"}]]
2020-02-10T11:41:04.890643_#1: vim end =======================
2020-02-10T11:41:04.890798_#1: run: waiting to read a JSON message
2020-02-10T11:41:04.890995_#1: vim start =======================
2020-02-10T11:41:04.890995_#1: sendJSONMsg: [0,[40,"call","listener_add","GOVIM_internal_EnrichDelta",1]]
2020-02-10T11:41:04.890995_#1: vim end =======================
2020-02-10T11:41:04.891187_#1: vim start =======================
2020-02-10T11:41:04.891187_#1: recvJSONMsg: [43] ["callback",40,["",1]]
2020-02-10T11:41:04.891187_#1: vim end =======================
2020-02-10T11:41:04.891222_#1: run: waiting to read a JSON message
2020-02-10T11:41:04.891251_#1: vim start =======================
2020-02-10T11:41:04.891251_#1: sendJSONMsg: [0,[41,"call","s:batchCall",[["call","s:mustBeZero","sign_unplace","govim"]]]]
2020-02-10T11:41:04.891251_#1: vim end =======================
2020-02-10T11:41:04.891452_#1: vim start =======================
2020-02-10T11:41:04.891452_#1: recvJSONMsg: [44] ["callback",41,["",[0]]]
2020-02-10T11:41:04.891452_#1: vim end =======================
2020-02-10T11:41:04.891476_#1: run: waiting to read a JSON message
2020-02-10T11:41:04.891575_#1: vim start =======================
2020-02-10T11:41:04.891575_#1: sendJSONMsg: [0,[42,"call","s:batchCall",[["call","s:mustNothing","prop_remove",{"id":0,"bufnr":1,"all":1}]]]]
2020-02-10T11:41:04.891575_#1: vim end =======================
2020-02-10T11:41:04.891809_#1: vim start =======================
2020-02-10T11:41:04.891809_#1: recvJSONMsg: [45] ["callback",42,["",[0]]]
2020-02-10T11:41:04.891809_#1: vim end =======================
2020-02-10T11:41:04.891831_#1: run: waiting to read a JSON message
2020-02-10T11:41:04.892485_#1: gopls server start =======================
2020-02-10T11:41:04.892485_#1: gopls.DidOpen() call; params:
2020-02-10T11:41:04.892485_#1: &protocol.DidOpenTextDocumentParams{
2020-02-10T11:41:04.892485_#1: TextDocument: protocol.TextDocumentItem{URI:"file:///var/home/elias/proj/gio/app/internal/egl/egl.go", LanguageID:"go", Version:1, Text:"// SPDX-License-Identifier: Unlicense OR MIT\n\n// +build linux windows freebsd openbsd\n\npackage egl\n\nimport (\n\t\"errors\"\n\t\"fmt\"\n\t\"runtime\"\n\t\"strings\"\n\n\t\"gioui.org/app/internal/glimpl\"\n\t\"gioui.org/gpu/gl\"\n)\n\ntype Context struct {\n\tc gl.Functions\n\tdisp _EGLDisplay\n\teglCtx *eglContext\n\teglSurf _EGLSurface\n\twidth, height int\n\trefreshFBO bool\n\t// For sRGB emulation.\n\tsrgbFBO *gl.SRGBFBO\n}\n\ntype eglContext struct {\n\tconfig _EGLConfig\n\tctx _EGLContext\n\tvisualID int\n\tsrgb bool\n\tsurfaceless bool\n}\n\nvar (\n\tnilEGLDisplay _EGLDisplay\n\tnilEGLSurface _EGLSurface\n\tnilEGLContext _EGLContext\n\tnilEGLConfig _EGLConfig\n\tnilEGLNativeWindowType NativeWindowType\n\tEGL_DEFAULT_DISPLAY NativeDisplayType\n)\n\nconst (\n\t_EGL_ALPHA_SIZE = 0x3021\n\t_EGL_BLUE_SIZE = 0x3022\n\t_EGL_CONFIG_CAVEAT = 0x3027\n\t_EGL_CONTEXT_CLIENT_VERSION = 0x3098\n\t_EGL_DEPTH_SIZE = 0x3025\n\t_EGL_GL_COLORSPACE_KHR = 0x309d\n\t_EGL_GL_COLORSPACE_SRGB_KHR = 0x3089\n\t_EGL_GREEN_SIZE = 0x3023\n\t_EGL_EXTENSIONS = 0x3055\n\t_EGL_NATIVE_VISUAL_ID = 0x302e\n\t_EGL_NONE = 0x3038\n\t_EGL_OPENGL_ES2_BIT = 0x4\n\t_EGL_RED_SIZE = 0x3024\n\t_EGL_RENDERABLE_TYPE = 0x3040\n\t_EGL_SURFACE_TYPE = 0x3033\n\t_EGL_WINDOW_BIT = 0x4\n)\n\nfunc (c *Context) Release() {\n\tif c.srgbFBO != nil {\n\t\tc.srgbFBO.Release()\n\t\tc.srgbFBO = nil\n\t}\n\tc.ReleaseSurface()\n\tif c.eglCtx != nil {\n\t\teglDestroyContext(c.disp, c.eglCtx.ctx)\n\t\teglTerminate(c.disp)\n\t\teglReleaseThread()\n\t\tc.eglCtx = nil\n\t}\n\tc.disp = nilEGLDisplay\n}\n\nfunc (c *Context) Present() error {\n\tif c.srgbFBO != nil {\n\t\tc.srgbFBO.Blit()\n\t}\n\tif !eglSwapBuffers(c.disp, c.eglSurf) {\n\t\treturn fmt.Errorf(\"eglSwapBuffers failed (%x)\", eglGetError())\n\t}\n\tif c.srgbFBO != nil {\n\t\tc.srgbFBO.AfterPresent()\n\t}\n\treturn nil\n}\n\nfunc NewContext(disp NativeDisplayType) (*Context, error) {\n\tif err := loadEGL(); err != nil {\n\t\treturn nil, err\n\t}\n\teglDisp := eglGetDisplay(disp)\n\t// eglGetDisplay can return EGL_NO_DISPLAY yet no error\n\t// (EGL_SUCCESS), in which case a default EGL display might be\n\t// available.\n\tif eglDisp == nilEGLDisplay {\n\t\teglDisp = eglGetDisplay(EGL_DEFAULT_DISPLAY)\n\t}\n\tif eglDisp == nilEGLDisplay {\n\t\treturn nil, fmt.Errorf(\"eglGetDisplay failed: 0x%x\", eglGetError())\n\t}\n\teglCtx, err := createContext(eglDisp)\n\tif err != nil {\n\t\treturn nil, err\n\t}\n\tc := &Context{\n\t\tdisp: eglDisp,\n\t\teglCtx: eglCtx,\n\t\tc: new(glimpl.Functions),\n\t}\n\treturn c, nil\n}\n\nfunc (c *Context) Functions() gl.Functions {\n\treturn c.c\n}\n\nfunc (c *Context) ReleaseSurface() {\n\tif c.eglSurf == nilEGLSurface {\n\t\treturn\n\t}\n\t// Make sure any in-flight GL commands are complete.\n\tc.c.Finish()\n\tc.ReleaseCurrent()\n\teglDestroySurface(c.disp, c.eglSurf)\n\tc.eglSurf = nilEGLSurface\n}\n\nfunc (c *Context) VisualID() int {\n\treturn c.eglCtx.visualID\n}\n\nfunc (c *Context) CreateSurface(win NativeWindowType, width, height int) error {\n\teglSurf, err := createSurface(c.disp, c.eglCtx, win)\n\tc.eglSurf = eglSurf\n\tc.width = width\n\tc.height = height\n\tc.refreshFBO = true\n\treturn err\n}\n\nfunc (c *Context) ReleaseCurrent() {\n\tif c.disp != nilEGLDisplay {\n\t\teglMakeCurrent(c.disp, nilEGLSurface, nilEGLSurface, nilEGLContext)\n\t}\n}\n\nfunc (c *Context) MakeCurrent() error {\n\tif c.eglSurf == nilEGLSurface && !c.eglCtx.surfaceless {\n\t\treturn errors.New(\"no surface created yet EGL_KHR_surfaceless_context is not supported\")\n\t}\n\tif !eglMakeCurrent(c.disp, c.eglSurf, c.eglSurf, c.eglCtx.ctx) {\n\t\treturn fmt.Errorf(\"eglMakeCurrent error 0x%x\", eglGetError())\n\t}\n\tif c.eglCtx.srgb || c.eglSurf == nilEGLSurface {\n\t\treturn nil\n\t}\n\tif c.srgbFBO == nil {\n\t\tvar err error\n\t\tc.srgbFBO, err = gl.NewSRGBFBO(c.c)\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t}\n\tif c.refreshFBO {\n\t\tc.refreshFBO = false\n\t\treturn c.srgbFBO.Refresh(c.width, c.height)\n\t}\n\treturn nil\n}\n\nfunc (c *Context) EnableVSync(enable bool) {\n\tif enable {\n\t\teglSwapInterval(c.disp, 1)\n\t} else {\n\t\teglSwapInterval(c.disp, 0)\n\t}\n}\n\nfunc hasExtension(exts []string, ext string) bool {\n\tfor _, e := range exts {\n\t\tif ext == e {\n\t\t\treturn true\n\t\t}\n\t}\n\treturn false\n}\n\nfunc createContext(disp _EGLDisplay) (*eglContext, error) {\n\tmajor, minor, ret := eglInitialize(disp)\n\tif !ret {\n\t\treturn nil, fmt.Errorf(\"eglInitialize failed: 0x%x\", eglGetError())\n\t}\n\t// sRGB framebuffer support on EGL 1.5 or if EGL_KHR_gl_colorspace is supported.\n\texts := strings.Split(eglQueryString(disp, _EGL_EXTENSIONS), \" \")\n\tsrgb := major > 1 || minor >= 5 || hasExtension(exts, \"EGL_KHR_gl_colorspace\")\n\tattribs := []_EGLint{\n\t\t_EGL_RENDERABLE_TYPE, _EGL_OPENGL_ES2_BIT,\n\t\t_EGL_SURFACE_TYPE, _EGL_WINDOW_BIT,\n\t\t_EGL_BLUE_SIZE, 8,\n\t\t_EGL_GREEN_SIZE, 8,\n\t\t_EGL_RED_SIZE, 8,\n\t\t_EGL_CONFIG_CAVEAT, _EGL_NONE,\n\t}\n\tsrgb = false\n\tif srgb {\n\t\tif runtime.GOOS == \"linux\" {\n\t\t\t// Some Mesa drivers crash if an sRGB framebuffer is requested without alpha.\n\t\t\t// https://bugs.freedesktop.org/show_bug.cgi?id=107782.\n\t\t\tattribs = append(attribs, _EGL_ALPHA_SIZE, 1)\n\t\t}\n\t\t// Only request a depth buffer if we're going to render directly to the framebuffer.\n\t\tattribs = append(attribs, _EGL_DEPTH_SIZE, 16)\n\t}\n\tattribs = append(attribs, _EGL_NONE)\n\teglCfg, ret := eglChooseConfig(disp, attribs)\n\tif !ret {\n\t\treturn nil, fmt.Errorf(\"eglChooseConfig failed: 0x%x\", eglGetError())\n\t}\n\tif eglCfg == nilEGLConfig {\n\t\treturn nil, errors.New(\"eglChooseConfig returned 0 configs\")\n\t}\n\tvisID, ret := eglGetConfigAttrib(disp, eglCfg, _EGL_NATIVE_VISUAL_ID)\n\tif !ret {\n\t\treturn nil, errors.New(\"newContext: eglGetConfigAttrib for _EGL_NATIVE_VISUAL_ID failed\")\n\t}\n\tctxAttribs := []_EGLint{\n\t\t_EGL_CONTEXT_CLIENT_VERSION, 3,\n\t\t_EGL_NONE,\n\t}\n\teglCtx := eglCreateContext(disp, eglCfg, nilEGLContext, ctxAttribs)\n\tif eglCtx == nilEGLContext {\n\t\t// Fall back to OpenGL ES 2 and rely on extensions.\n\t\tctxAttribs := []_EGLint{\n\t\t\t_EGL_CONTEXT_CLIENT_VERSION, 2,\n\t\t\t_EGL_NONE,\n\t\t}\n\t\teglCtx = eglCreateContext(disp, eglCfg, nilEGLContext, ctxAttribs)\n\t\tif eglCtx == nilEGLContext {\n\t\t\treturn nil, fmt.Errorf(\"eglCreateContext failed: 0x%x\", eglGetError())\n\t\t}\n\t}\n\treturn &eglContext{\n\t\tconfig: _EGLConfig(eglCfg),\n\t\tctx: _EGLContext(eglCtx),\n\t\tvisualID: int(visID),\n\t\tsrgb: srgb,\n\t\tsurfaceless: hasExtension(exts, \"EGL_KHR_surfaceless_context\"),\n\t}, nil\n}\n\nfunc createSurface(disp _EGLDisplay, eglCtx *eglContext, win NativeWindowType) (_EGLSurface, error) {\n\tvar surfAttribs []_EGLint\n\tif eglCtx.srgb {\n\t\tsurfAttribs = append(surfAttribs, _EGL_GL_COLORSPACE_KHR, _EGL_GL_COLORSPACE_SRGB_KHR)\n\t}\n\tsurfAttribs = append(surfAttribs, _EGL_NONE)\n\teglSurf := eglCreateWindowSurface(disp, eglCtx.config, win, surfAttribs)\n\tif eglSurf == nilEGLSurface && eglCtx.srgb {\n\t\t// Try again without sRGB\n\t\teglCtx.srgb = false\n\t\tsurfAttribs = []_EGLint{_EGL_NONE}\n\t\teglSurf = eglCreateWindowSurface(disp, eglCtx.config, win, surfAttribs)\n\t}\n\tif eglSurf == nilEGLSurface {\n\t\treturn nilEGLSurface, fmt.Errorf(\"newContext: eglCreateWindowSurface failed 0x%x (sRGB=%v)\", eglGetError(), eglCtx.srgb)\n\t}\n\treturn eglSurf, nil\n}\n"},
2020-02-10T11:41:04.892485_#1: }
2020-02-10T11:41:04.892485_#1: gopls server end =======================
2020-02-10T11:41:04.892714_#1: gopls server start =======================
2020-02-10T11:41:04.892714_#1: gopls.DidOpen() return; err: <nil>
2020-02-10T11:41:04.892714_#1: gopls server end =======================
2020-02-10T11:41:04.892785_#1: vim start =======================
2020-02-10T11:41:04.892785_#1: sendJSONMsg: [42,["",null]]
2020-02-10T11:41:04.892785_#1: vim end =======================
2020-02-10T11:41:04.914287_#1: vim start =======================
2020-02-10T11:41:04.914287_#1: recvJSONMsg: [46] ["function","function:GOVIM_internal_SetUserBusy",[1]]
2020-02-10T11:41:04.914287_#1: vim end =======================
2020-02-10T11:41:04.914364_#1: run: waiting to read a JSON message
2020-02-10T11:41:04.914412_#1: vim start =======================
2020-02-10T11:41:04.914412_#1: sendJSONMsg: [46,["",null]]
2020-02-10T11:41:04.914412_#1: vim end =======================
2020-02-10T11:41:09.506848_#1: vim start =======================
2020-02-10T11:41:09.506848_#1: recvJSONMsg: [47] ["function","function:GOVIM_internal_BufChanged",[1,209,210,0,[{"lnum":209,"col":2,"added":0,"end":210,"lines":["\t/srgb = false"]}]]]
2020-02-10T11:41:09.506848_#1: vim end =======================
2020-02-10T11:41:09.507090_#1: run: waiting to read a JSON message
2020-02-10T11:41:09.507962_#1: gopls server start =======================
2020-02-10T11:41:09.507962_#1: gopls.DidChange() call; params:
2020-02-10T11:41:09.507962_#1: &protocol.DidChangeTextDocumentParams{
2020-02-10T11:41:09.507962_#1: TextDocument: protocol.VersionedTextDocumentIdentifier{
2020-02-10T11:41:09.507962_#1: Version: 2,
2020-02-10T11:41:09.507962_#1: TextDocumentIdentifier: protocol.TextDocumentIdentifier{URI:"file:///var/home/elias/proj/gio/app/internal/egl/egl.go"},
2020-02-10T11:41:09.507962_#1: },
2020-02-10T11:41:09.507962_#1: ContentChanges: {
2020-02-10T11:41:09.507962_#1: {
2020-02-10T11:41:09.507962_#1: Range: &protocol.Range{
2020-02-10T11:41:09.507962_#1: Start: protocol.Position{Line:208, Character:0},
2020-02-10T11:41:09.507962_#1: End: protocol.Position{Line:209, Character:0},
2020-02-10T11:41:09.507962_#1: },
2020-02-10T11:41:09.507962_#1: RangeLength: 0,
2020-02-10T11:41:09.507962_#1: Text: "\t/srgb = false\n",
2020-02-10T11:41:09.507962_#1: },
2020-02-10T11:41:09.507962_#1: },
2020-02-10T11:41:09.507962_#1: }
2020-02-10T11:41:09.507962_#1: gopls server end =======================
2020-02-10T11:41:09.511080_#1: gopls server start =======================
2020-02-10T11:41:09.511080_#1: gopls.DidChange() return; err: <nil>
2020-02-10T11:41:09.511080_#1: gopls server end =======================
2020-02-10T11:41:09.511256_#1: vim start =======================
2020-02-10T11:41:09.511256_#1: sendJSONMsg: [47,["",null]]
2020-02-10T11:41:09.511256_#1: vim end =======================
2020-02-10T11:41:09.511970_#1: info only: failed to parse buffer /var/home/elias/proj/gio/app/internal/egl/egl.go: /var/home/elias/proj/gio/app/internal/egl/egl.go:209:2: expected statement, found '/'
2020-02-10T11:41:09.512314_#1: gopls stderr: 2020/02/10 11:41:09 : no snapshot for file:///var/home/elias/proj/gio/app/internal/egl/egl.go
2020-02-10T11:41:09.513131_#1: gopls client start =======================
2020-02-10T11:41:09.513131_#1: LogMessage callback: &protocol.LogMessageParams{Type:1, Message:"2020/02/10 11:41:09 : no snapshot for file:///var/home/elias/proj/gio/app/internal/egl/egl.go"}
2020-02-10T11:41:09.513131_#1: gopls client end =======================
2020-02-10T11:41:09.618725_#1: vim start =======================
2020-02-10T11:41:09.618725_#1: recvJSONMsg: [48] ["function","function:GOVIM_internal_BufChanged",[1,209,210,0,[{"lnum":209,"col":3,"added":0,"end":210,"lines":["\t//srgb = false"]}]]]
2020-02-10T11:41:09.618725_#1: vim end =======================
2020-02-10T11:41:09.618984_#1: run: waiting to read a JSON message
2020-02-10T11:41:09.619699_#1: gopls server start =======================
2020-02-10T11:41:09.619699_#1: gopls.DidChange() call; params:
2020-02-10T11:41:09.619699_#1: &protocol.DidChangeTextDocumentParams{
2020-02-10T11:41:09.619699_#1: TextDocument: protocol.VersionedTextDocumentIdentifier{
2020-02-10T11:41:09.619699_#1: Version: 3,
2020-02-10T11:41:09.619699_#1: TextDocumentIdentifier: protocol.TextDocumentIdentifier{URI:"file:///var/home/elias/proj/gio/app/internal/egl/egl.go"},
2020-02-10T11:41:09.619699_#1: },
2020-02-10T11:41:09.619699_#1: ContentChanges: {
2020-02-10T11:41:09.619699_#1: {
2020-02-10T11:41:09.619699_#1: Range: &protocol.Range{
2020-02-10T11:41:09.619699_#1: Start: protocol.Position{Line:208, Character:0},
2020-02-10T11:41:09.619699_#1: End: protocol.Position{Line:209, Character:0},
2020-02-10T11:41:09.619699_#1: },
2020-02-10T11:41:09.619699_#1: RangeLength: 0,
2020-02-10T11:41:09.619699_#1: Text: "\t//srgb = false\n",
2020-02-10T11:41:09.619699_#1: },
2020-02-10T11:41:09.619699_#1: },
2020-02-10T11:41:09.619699_#1: }
2020-02-10T11:41:09.619699_#1: gopls server end =======================
2020-02-10T11:41:09.619952_#1: gopls server start =======================
2020-02-10T11:41:09.619952_#1: gopls.DidChange() return; err: <nil>
2020-02-10T11:41:09.619952_#1: gopls server end =======================
2020-02-10T11:41:09.620084_#1: vim start =======================
2020-02-10T11:41:09.620084_#1: sendJSONMsg: [48,["",null]]
2020-02-10T11:41:09.620084_#1: vim end =======================
2020-02-10T11:41:09.620878_#1: gopls stderr: 2020/02/10 11:41:09 : no snapshot for file:///var/home/elias/proj/gio/app/internal/egl/egl.go
2020-02-10T11:41:09.621609_#1: gopls client start =======================
2020-02-10T11:41:09.621609_#1: LogMessage callback: &protocol.LogMessageParams{Type:1, Message:"2020/02/10 11:41:09 : no snapshot for file:///var/home/elias/proj/gio/app/internal/egl/egl.go"}
2020-02-10T11:41:09.621609_#1: gopls client end =======================
2020-02-10T11:41:10.234459_#1: vim start =======================
2020-02-10T11:41:10.234459_#1: recvJSONMsg: [49] ["function","autocommand:2",[1]]
2020-02-10T11:41:10.234459_#1: vim end =======================
2020-02-10T11:41:10.234652_#1: run: waiting to read a JSON message
2020-02-10T11:41:10.234964_#1: gopls server start =======================
2020-02-10T11:41:10.234964_#1: gopls.CodeAction() call; params:
2020-02-10T11:41:10.234964_#1: &protocol.CodeActionParams{
2020-02-10T11:41:10.234964_#1: TextDocument: protocol.TextDocumentIdentifier{URI:"file:///var/home/elias/proj/gio/app/internal/egl/egl.go"},
2020-02-10T11:41:10.234964_#1: Range: protocol.Range{},
2020-02-10T11:41:10.234964_#1: Context: protocol.CodeActionContext{},
2020-02-10T11:41:10.234964_#1: WorkDoneProgressParams: protocol.WorkDoneProgressParams{},
2020-02-10T11:41:10.234964_#1: PartialResultParams: protocol.PartialResultParams{},
2020-02-10T11:41:10.234964_#1: }
2020-02-10T11:41:10.234964_#1: gopls server end =======================
2020-02-10T11:41:10.332664_#1: gopls client start =======================
2020-02-10T11:41:10.332664_#1: LogMessage callback: &protocol.LogMessageParams{Type:3, Message:"2020/02/10 11:41:10 go/packages.Load\n\tsnapshot = 0\n\tquery = [file=/var/home/elias/proj/gio/app/internal/egl/egl.go]\n\tpackages = 1"}
2020-02-10T11:41:10.332664_#1: gopls client end =======================
2020-02-10T11:41:10.332757_#1: gopls client start =======================
2020-02-10T11:41:10.332757_#1: LogMessage callback: &protocol.LogMessageParams{Type:3, Message:"2020/02/10 11:41:10 go/packages.Load\n\tsnapshot = 0\n\tpackage = gioui.org/app/internal/egl\n\tfiles = [/var/home/elias/proj/gio/app/internal/egl/egl.go /home/elias/.cache/go-build/6c/6cdabf04e4eb3f6001922b36cbe6174e70ba623955392fa6503a453e998d46f6-d /home/elias/.cache/go-build/21/216365567454f0310664d80292b0f8be3674b4b2bbc2f065ea6885ecbb795690-d /home/elias/.cache/go-build/55/556835cfb68e02f2379fb4ab70d0d5db079f088c081ee7b68dcb901b4b66242c-d]"}
2020-02-10T11:41:10.332757_#1: gopls client end =======================
2020-02-10T11:41:10.333195_#1: gopls server start =======================
2020-02-10T11:41:10.333195_#1: gopls.CodeAction() return; err: method "textDocument/codeAction" did not reply; res:
2020-02-10T11:41:10.333195_#1: []protocol.CodeAction(nil)
2020-02-10T11:41:10.333195_#1: gopls server end =======================
2020-02-10T11:41:10.333219_#1: gopls.CodeAction returned an error; nothing to do
2020-02-10T11:41:10.333237_#1: vim start =======================
2020-02-10T11:41:10.333237_#1: sendJSONMsg: [49,["",null]]
2020-02-10T11:41:10.333237_#1: vim end =======================
2020-02-10T11:41:10.333535_#1: gopls server start =======================
2020-02-10T11:41:10.333535_#1: gopls.DidChangeWatchedFiles() call; params:
2020-02-10T11:41:10.333535_#1: &protocol.DidChangeWatchedFilesParams{
2020-02-10T11:41:10.333535_#1: Changes: {
2020-02-10T11:41:10.333535_#1: {URI:"file:///var/home/elias/proj/gio/app/internal/egl/egl.go", Type:2},
2020-02-10T11:41:10.333535_#1: },
2020-02-10T11:41:10.333535_#1: }
2020-02-10T11:41:10.333535_#1: gopls server end =======================
2020-02-10T11:41:10.333676_#1: gopls server start =======================
2020-02-10T11:41:10.333676_#1: gopls.DidChangeWatchedFiles() return; err: <nil>
2020-02-10T11:41:10.333676_#1: gopls server end =======================
2020-02-10T11:41:10.333701_#1: handleEvent: handled {/var/home/elias/proj/gio/app/internal/egl/egl.go changed}
2020-02-10T11:41:10.333762_#1: gopls server start =======================
2020-02-10T11:41:10.333762_#1: gopls.DidChangeWatchedFiles() call; params:
2020-02-10T11:41:10.333762_#1: &protocol.DidChangeWatchedFilesParams{
2020-02-10T11:41:10.333762_#1: Changes: {
2020-02-10T11:41:10.333762_#1: {URI:"file:///var/home/elias/proj/gio/app/internal/egl/egl.go", Type:2},
2020-02-10T11:41:10.333762_#1: },
2020-02-10T11:41:10.333762_#1: }
2020-02-10T11:41:10.333762_#1: gopls server end =======================
2020-02-10T11:41:10.333789_#1: gopls server start =======================
2020-02-10T11:41:10.333789_#1: gopls.DidChangeWatchedFiles() return; err: <nil>
2020-02-10T11:41:10.333789_#1: gopls server end =======================
2020-02-10T11:41:10.333805_#1: handleEvent: handled {/var/home/elias/proj/gio/app/internal/egl/egl.go changed}
2020-02-10T11:41:10.335288_#1: gopls stderr: panic: unexpected parse mode for gioui.org/app/internal/egl
2020-02-10T11:41:10.335312_#1: gopls stderr:
2020-02-10T11:41:10.335329_#1: gopls stderr: goroutine 2005 [running]:
2020-02-10T11:41:10.335395_#1: gopls stderr: golang.org/x/tools/internal/lsp/cache.expectMode(...)
2020-02-10T11:41:10.335409_#1: gopls stderr: /home/elias/go/pkg/mod/golang.org/x/[email protected]/internal/lsp/cache/snapshot.go:378
2020-02-10T11:41:10.335427_#1: gopls stderr: golang.org/x/tools/internal/lsp/cache.(*snapshot).packageHandles(0xc00018fb60, 0xe213c0, 0xc000841b00, 0xc002aa43c0, 0x37, 0x0, 0x1, 0x0, 0x40de46, 0xc000841ad0, ...)
2020-02-10T11:41:10.335443_#1: gopls stderr: /home/elias/go/pkg/mod/golang.org/x/[email protected]/internal/lsp/cache/snapshot.go:156 +0x5cf
2020-02-10T11:41:10.335459_#1: gopls stderr: golang.org/x/tools/internal/lsp/cache.(*snapshot).PackageHandles(0xc00018fb60, 0xe213c0, 0xc000841ad0, 0xe1fa40, 0xc002b94f00, 0x6e6c1d, 0xc1c900, 0xc002a07d80, 0xc000871320, 0xbf886ab18e1a6510)
2020-02-10T11:41:10.335526_#1: gopls stderr: /home/elias/go/pkg/mod/golang.org/x/[email protected]/internal/lsp/cache/snapshot.go:85 +0x2ec
2020-02-10T11:41:10.335542_#1: gopls stderr: golang.org/x/tools/internal/lsp/source.getParsedFile(0xe213c0, 0xc000841ad0, 0xe2fe40, 0xc00018fb60, 0xe1fa40, 0xc002b94f00, 0xd1b7b0, 0xe213c0, 0xc000841ad0, 0xc002a07d80, ...)
2020-02-10T11:41:10.335555_#1: gopls stderr: /home/elias/go/pkg/mod/golang.org/x/[email protected]/internal/lsp/source/util.go:71 +0x7d
2020-02-10T11:41:10.335566_#1: gopls stderr: golang.org/x/tools/internal/lsp/source.AllImportsFixes(0xe213c0, 0xc000841ad0, 0xe2fe40, 0xc00018fb60, 0xe1fa40, 0xc002b94f00, 0x0, 0xc0001949a0, 0x1, 0x1, ...)
2020-02-10T11:41:10.335578_#1: gopls stderr: /home/elias/go/pkg/mod/golang.org/x/[email protected]/internal/lsp/source/format.go:83 +0x183
2020-02-10T11:41:10.335590_#1: gopls stderr: golang.org/x/tools/internal/lsp.(*Server).codeAction(0xc00018f740, 0xe213c0, 0xc00255cb40, 0xc002729580, 0xc002729580, 0x0, 0x0, 0x0, 0xc000101d90)
2020-02-10T11:41:10.335604_#1: gopls stderr: /home/elias/go/pkg/mod/golang.org/x/[email protected]/internal/lsp/code_action.go:74 +0x914
2020-02-10T11:41:10.335615_#1: gopls stderr: golang.org/x/tools/internal/lsp.(*Server).CodeAction(0xc00018f740, 0xe213c0, 0xc00255cb40, 0xc002729580, 0xc002729580, 0x0, 0x0, 0x40e06e, 0x4c8ad2)
2020-02-10T11:41:10.335627_#1: gopls stderr: /home/elias/go/pkg/mod/golang.org/x/[email protected]/internal/lsp/server_gen.go:12 +0x4d
2020-02-10T11:41:10.335639_#1: gopls stderr: golang.org/x/tools/internal/lsp/protocol.serverHandler.Deliver(0xe3b780, 0xc00018f740, 0xe213c0, 0xc00255cb40, 0xc002534c40, 0xc00005df00, 0xaf0000)
2020-02-10T11:41:10.335652_#1: gopls stderr: /home/elias/go/pkg/mod/golang.org/x/[email protected]/internal/lsp/protocol/tsserver.go:433 +0x1e32
2020-02-10T11:41:10.335664_#1: gopls stderr: golang.org/x/tools/internal/jsonrpc2.(*Conn).Run.func1(0xc002085ce0, 0xc002534c40, 0xc00018f680, 0xe213c0, 0xc00255cb40, 0x0, 0x0, 0xc0029689d0)
2020-02-10T11:41:10.335676_#1: gopls stderr: /home/elias/go/pkg/mod/golang.org/x/[email protected]/internal/jsonrpc2/jsonrpc2.go:370 +0x160
2020-02-10T11:41:10.335687_#1: gopls stderr: created by golang.org/x/tools/internal/jsonrpc2.(*Conn).Run
2020-02-10T11:41:10.335699_#1: gopls stderr: /home/elias/go/pkg/mod/golang.org/x/[email protected]/internal/jsonrpc2/jsonrpc2.go:354 +0x874
2020-02-10T11:41:10.354674_#1: vim start =======================
2020-02-10T11:41:10.354674_#1: recvJSONMsg: [50] ["function","autocommand:3",[1]]
2020-02-10T11:41:10.354674_#1: vim end =======================
2020-02-10T11:41:10.354817_#1: run: waiting to read a JSON message
2020-02-10T11:41:40.361321_#1: vim start =======================
2020-02-10T11:41:40.361321_#1: recvJSONMsg: [51] ["function","function:GOVIM_internal_BufChanged",[1,209,210,0,[{"lnum":209,"col":1,"added":0,"end":210,"lines":["\tsrgb = false"]}]]]
2020-02-10T11:41:40.361321_#1: vim end =======================
2020-02-10T11:41:40.361553_#1: run: waiting to read a JSON message
2020-02-10T11:42:11.395029_#1: vim start =======================
2020-02-10T11:42:11.395029_#1: recvJSONMsg: [52] ["function","function:GOVIM_internal_SetUserBusy",[0]]
2020-02-10T11:42:11.395029_#1: vim end =======================
2020-02-10T11:42:11.395324_#1: run: waiting to read a JSON message
2020-02-10T11:42:41.426493_#1: vim start =======================
2020-02-10T11:42:41.426493_#1: recvJSONMsg: [53] ["function","function:GOVIM_internal_SetUserBusy",[1]]
2020-02-10T11:42:41.426493_#1: vim end =======================
2020-02-10T11:42:41.426702_#1: run: waiting to read a JSON message
2020-02-10T11:43:34.284277_#1: vim start =======================
2020-02-10T11:43:34.284277_#1: recvJSONMsg: [54] ["function","function:GOVIM_internal_SetUserBusy",[0]]
2020-02-10T11:43:34.284277_#1: vim end =======================
2020-02-10T11:43:34.284544_#1: run: waiting to read a JSON message
2020-02-10T11:44:04.287584_#1: vim start =======================
2020-02-10T11:44:04.287584_#1: recvJSONMsg: [55] ["function","function:GOVIM_internal_SetUserBusy",[1]]
2020-02-10T11:44:04.287584_#1: vim end =======================
2020-02-10T11:44:04.287782_#1: run: waiting to read a JSON message
==== start log session ====
0.000447 : closing
==== start log session ====
0.003765 : Starting job: /var/home/elias/.vim/pack/plugins/start/govim/cmd/govim/.bin/37000c211610ed400cf39159af8d62077171c95b/govim /var/home/elias/.vim/pack/plugins/start/govim/cmd/govim/.bin/37000c211610ed400cf39159af8d62077171c95b/gopls
0.003788 on 0: Created channel
0.003929 : closing
0.005069 : SafeState: Start triggering
0.005971 RECV on 0(out): '[0,[1,"loaded"]]
'
0.005978 : looking for messages on channels
0.006018 on 0: Getting JSON message 0
0.006030 on 0: Invoking channel callback <SNR>31_define
0.006137 SEND on 0(in): '[1,["callback",1,[""]]]
'
0.006166 : SafeState: back to waiting, triggering SafeStateAgain
0.006422 RECV on 0(out): '[0,[2,"ex","let s:govim_logfile=\"/tmp/govim_20200210_1141_02_979008590.log\""]]
'
0.006425 : looking for messages on channels
0.006441 on 0: Getting JSON message 0
0.006451 on 0: Invoking channel callback <SNR>31_define
0.006538 SEND on 0(in): '[2,["callback",2,[""]]]
'
0.006592 : SafeState: back to waiting, triggering SafeStateAgain
0.007404 RECV on 0(out): '[0,[3,"expr","{\"VersionLong\": exists(\"v:versionlong\")?v:versionlong:-1, \"GuiRunning\": has(\"gui_running\")}"]]
'
0.007417 : looking for messages on channels
0.007474 on 0: Getting JSON message 0
0.007485 on 0: Invoking channel callback <SNR>31_define
0.007637 SEND on 0(in): '[3,["callback",3,["",{"VersionLong":8020109,"GuiRunning":0}]]]
'
0.007676 : SafeState: back to waiting, triggering SafeStateAgain
0.007997 RECV on 0(out): '[0,[4,"ex","augroup govim"]]
'
0.008007 : looking for messages on channels
0.008040 on 0: Getting JSON message 0
0.008054 on 0: Invoking channel callback <SNR>31_define
0.008181 SEND on 0(in): '[4,["callback",4,[""]]]
'
0.008218 : SafeState: back to waiting, triggering SafeStateAgain
0.008313 RECV on 0(out): '[0,[5,"ex","augroup END"]]
'
0.008315 : looking for messages on channels
0.008334 on 0: Getting JSON message 0
0.008344 on 0: Invoking channel callback <SNR>31_define
0.008421 SEND on 0(in): '[5,["callback",5,[""]]]
'
0.008442 : SafeState: back to waiting, triggering SafeStateAgain
0.008518 RECV on 0(out): '[0,[6,"call","getcwd",-1]]
'
0.008521 : looking for messages on channels
0.008542 on 0: Getting JSON message 0
0.008553 on 0: Invoking channel callback <SNR>31_define
0.008638 SEND on 0(in): '[6,["callback",6,["","/var/home/elias/proj/gio/gpu"]]]
'
0.008669 : SafeState: back to waiting, triggering SafeStateAgain
0.008805 RECV on 0(out): '[0,[7,"function","GOVIM_internal_BalloonExpr",[]]]
'
0.008808 : looking for messages on channels
0.008850 on 0: Getting JSON message 0
0.008863 on 0: Invoking channel callback <SNR>31_define
0.008991 SEND on 0(in): '[7,["callback",7,[""]]]
'
0.009019 : SafeState: back to waiting, triggering SafeStateAgain
0.009161 RECV on 0(out): '[0,[8,"autocmd","autocommand:0"," govim BufUnload *.go",["eval(expand('\u003cabuf\u003e'))"]]]
'
0.009164 : looking for messages on channels
0.009184 on 0: Getting JSON message 0
0.009195 on 0: Invoking channel callback <SNR>31_define
0.009323 SEND on 0(in): '[8,["callback",8,[""]]]
'
0.009359 : SafeState: back to waiting, triggering SafeStateAgain
0.009509 RECV on 0(out): '[0,[9,"autocmd","autocommand:1"," govim BufNewFile,BufRead *.go",["{\"Num\": eval(expand('\u003cabuf\u003e')), \"Name\": fnamemodify(bufname(eval(expand('\u003cabuf\u003e'))),':p'), \"Contents\": join(getbufline(eval(expand('\u003cabuf\u003e')), 0, \"$\"), \"\\n\").\"\\n\", \"Loaded\": bufloaded(eval(expand('\u003cabuf\u003e')))}"]]]
'
0.009512 : looking for messages on channels
0.009533 on 0: Getting JSON message 0
0.009546 on 0: Invoking channel callback <SNR>31_define
0.009668 SEND on 0(in): '[9,["callback",9,[""]]]
'
0.009696 : SafeState: back to waiting, triggering SafeStateAgain
0.009775 RECV on 0(out): '[0,[10,"autocmd","autocommand:2"," govim BufWritePre *.go",["eval(expand('\u003cabuf\u003e'))"]]]
'
0.009777 : looking for messages on channels
0.009793 on 0: Getting JSON message 0
0.009808 on 0: Invoking channel callback <SNR>31_define
0.009926 SEND on 0(in): '[10,["callback",10,[""]]]
'
0.009956 : SafeState: back to waiting, triggering SafeStateAgain
0.010144 RECV on 0(out): '[0,[11,"autocmd","autocommand:3"," govim BufWritePost *.go",["eval(expand('\u003cabuf\u003e'))"]]]
'
0.010148 : looking for messages on channels
0.010173 on 0: Getting JSON message 0
0.010184 on 0: Invoking channel callback <SNR>31_define
0.010296 SEND on 0(in): '[11,["callback",11,[""]]]
'
0.010324 : SafeState: back to waiting, triggering SafeStateAgain
0.010447 RECV on 0(out): '[0,[12,"function","GOVIM_internal_Complete",["findarg","base"]]]
'
0.010449 : looking for messages on channels
0.010465 on 0: Getting JSON message 0
0.010476 on 0: Invoking channel callback <SNR>31_define
0.010606 SEND on 0(in): '[12,["callback",12,[""]]]
'
0.010640 : SafeState: back to waiting, triggering SafeStateAgain
0.010732 RECV on 0(out): '[0,[13,"command","GOVIMGoToDef",{"nargs":"-nargs=?"}]]
'
0.010734 : looking for messages on channels
0.010749 on 0: Getting JSON message 0
0.010761 on 0: Invoking channel callback <SNR>31_define
0.010902 SEND on 0(in): '[13,["callback",13,[""]]]
'
0.010922 : SafeState: back to waiting, triggering SafeStateAgain
0.011091 RECV on 0(out): '[0,[14,"command","GOVIMSuggestedFixes",{"nargs":"-nargs=?"}]]
'
0.011093 : looking for messages on channels
0.011105 on 0: Getting JSON message 0
0.011114 on 0: Invoking channel callback <SNR>31_define
0.011225 SEND on 0(in): '[14,["callback",14,[""]]]
'
0.011242 : SafeState: back to waiting, triggering SafeStateAgain
0.011365 RECV on 0(out): '[0,[15,"command","GOVIMGoToPrevDef",{"count":"-count=1","nargs":"-nargs=?"}]]
'
0.011366 : looking for messages on channels
0.011379 on 0: Getting JSON message 0
0.011391 on 0: Invoking channel callback <SNR>31_define
0.011506 SEND on 0(in): '[15,["callback",15,[""]]]
'
0.011522 : SafeState: back to waiting, triggering SafeStateAgain
0.011639 RECV on 0(out): '[0,[16,"function","GOVIMHover",[]]]
'
0.011640 : looking for messages on channels
0.011651 on 0: Getting JSON message 0
0.011660 on 0: Invoking channel callback <SNR>31_define
0.011747 SEND on 0(in): '[16,["callback",16,[""]]]
'
0.011761 : SafeState: back to waiting, triggering SafeStateAgain
0.011852 RECV on 0(out): '[0,[17,"autocmd","autocommand:4"," govim BufDelete *.go",["eval(expand('\u003cabuf\u003e'))"]]]
'
0.011854 : looking for messages on channels
0.011866 on 0: Getting JSON message 0
0.011876 on 0: Invoking channel callback <SNR>31_define
0.011961 SEND on 0(in): '[17,["callback",17,[""]]]
'
0.011975 : SafeState: back to waiting, triggering SafeStateAgain
0.012140 RECV on 0(out): '[0,[18,"command","GOVIMGoFmt",{}]]
'
0.012141 : looking for messages on channels
0.012152 on 0: Getting JSON message 0
0.012161 on 0: Invoking channel callback <SNR>31_define
0.012263 SEND on 0(in): '[18,["callback",18,[""]]]
'
0.012278 : SafeState: back to waiting, triggering SafeStateAgain
0.012423 RECV on 0(out): '[0,[19,"command","GOVIMGoImports",{}]]
'
0.012424 : looking for messages on channels
0.012437 on 0: Getting JSON message 0
0.012446 on 0: Invoking channel callback <SNR>31_define
0.012548 SEND on 0(in): '[19,["callback",19,[""]]]
'
0.012564 : SafeState: back to waiting, triggering SafeStateAgain
0.012707 RECV on 0(out): '[0,[20,"command","GOVIMQuickfixDiagnostics",{}]]
'
0.012708 : looking for messages on channels
0.012719 on 0: Getting JSON message 0
0.012728 on 0: Invoking channel callback <SNR>31_define
0.012835 SEND on 0(in): '[20,["callback",20,[""]]]
'
0.012854 : SafeState: back to waiting, triggering SafeStateAgain
0.012962 RECV on 0(out): '[0,[21,"function","GOVIM_internal_BufChanged",["bufnr","start","end","added","changes"]]]
'
0.012963 : looking for messages on channels
0.012975 on 0: Getting JSON message 0
0.012984 on 0: Invoking channel callback <SNR>31_define
0.013098 SEND on 0(in): '[21,["callback",21,[""]]]
'
0.013114 : SafeState: back to waiting, triggering SafeStateAgain
0.013184 RECV on 0(out): '[0,[22,"function","GOVIM_internal_SetConfig",["config"]]]
'
0.013185 : looking for messages on channels
0.013196 on 0: Getting JSON message 0
0.013205 on 0: Invoking channel callback <SNR>31_define
0.013299 SEND on 0(in): '[22,["callback",22,[""]]]
'
0.013313 : SafeState: back to waiting, triggering SafeStateAgain
0.013381 RECV on 0(out): '[0,[23,"ex","call govim#config#Set(\"_internal_Func\", function(\"GOVIM_internal_SetConfig\"))"]]
'
0.013382 : looking for messages on channels
0.013396 on 0: Getting JSON message 0
0.013405 on 0: Invoking channel callback <SNR>31_define
0.013694 SEND on 0(in): '[23,["function","function:GOVIM_internal_SetConfig",[{}]]]
'
0.013711 on 0: Blocking read JSON for id 23
0.013721 : looking for messages on channels
0.013731 on 0: Waiting for up to 30000 msec
0.013948 RECV on 0(out): '[23,["",null]]
'
0.013951 on 0: Getting JSON message 23
0.013964 on 0: Received JSON for id 23
0.014004 SEND on 0(in): '[24,["callback",23,[""]]]
'
0.014021 : SafeState: back to waiting, triggering SafeStateAgain
0.014197 RECV on 0(out): '[0,[24,"function","GOVIM_internal_SetUserBusy",["isBusy"]]]
'
0.014198 : looking for messages on channels
0.014211 on 0: Getting JSON message 0
0.014221 on 0: Invoking channel callback <SNR>31_define
0.014322 SEND on 0(in): '[25,["callback",24,[""]]]
'
0.014336 : SafeState: back to waiting, triggering SafeStateAgain
0.014486 RECV on 0(out): '[0,[25,"function","GOVIM_internal_PopupSelection",["id","selected"]]]
'
0.014487 : looking for messages on channels
0.014501 on 0: Getting JSON message 0
0.014510 on 0: Invoking channel callback <SNR>31_define
0.014609 SEND on 0(in): '[26,["callback",25,[""]]]
'
0.014623 : SafeState: back to waiting, triggering SafeStateAgain
0.014728 RECV on 0(out): '[0,[26,"command","GOVIMReferences",{}]]
'
0.014729 : looking for messages on channels
0.014743 on 0: Getting JSON message 0
0.014753 on 0: Invoking channel callback <SNR>31_define
0.014868 SEND on 0(in): '[27,["callback",26,[""]]]
'
0.014891 : SafeState: back to waiting, triggering SafeStateAgain
0.015011 RECV on 0(out): '[0,[27,"command","GOVIMRename",{"nargs":"-nargs=?"}]]
'
0.015012 : looking for messages on channels
0.015026 on 0: Getting JSON message 0
0.015036 on 0: Invoking channel callback <SNR>31_define
0.015145 SEND on 0(in): '[28,["callback",27,[""]]]
'
0.015160 : SafeState: back to waiting, triggering SafeStateAgain
0.015275 RECV on 0(out): '[0,[28,"command","GOVIMStringFn",{"complete":"-complete=customlist,GOVIM_internal_StringFnComplete","nargs":"-nargs=+","range":"-range"}]]
'
0.015276 : looking for messages on channels
0.015292 on 0: Getting JSON message 0
0.015301 on 0: Invoking channel callback <SNR>31_define
0.015425 SEND on 0(in): '[29,["callback",28,[""]]]
'
0.015442 : SafeState: back to waiting, triggering SafeStateAgain
0.015542 RECV on 0(out): '[0,[29,"function","GOVIM_internal_StringFnComplete",["ArgLead","CmdLine","CursorPos"]]]
'
0.015543 : looking for messages on channels
0.015557 on 0: Getting JSON message 0
0.015566 on 0: Invoking channel callback <SNR>31_define
0.015679 SEND on 0(in): '[30,["callback",29,[""]]]
'
0.015695 : SafeState: back to waiting, triggering SafeStateAgain
0.015754 RECV on 0(out): '[0,[30,"autocmd","autocommand:5"," govim CompleteDone *.go",["eval(expand('\u003cabuf\u003e'))","v:completed_item"]]]
'
0.015755 : looking for messages on channels
0.015774 on 0: Getting JSON message 0
0.015784 on 0: Invoking channel callback <SNR>31_define
0.015875 SEND on 0(in): '[31,["callback",30,[""]]]
'
0.015892 : SafeState: back to waiting, triggering SafeStateAgain
0.016107 RECV on 0(out): '[0,[31,"expr","\u0026t_Co"]]
'
0.016108 : looking for messages on channels
0.016122 on 0: Getting JSON message 0
0.016132 on 0: Invoking channel callback <SNR>31_define
0.016198 SEND on 0(in): '[32,["callback",31,["","256"]]]
'
0.016217 : SafeState: back to waiting, triggering SafeStateAgain
0.016492 RECV on 0(out): '[0,[32,"call","s:batchCall",[["call","s:mustNothing","execute","highlight default GOVIMErr term=underline cterm=underline gui=undercurl ctermfg=1 guisp=Red"],["call","s:mustNothing","execute","highlight default GOVIMWarn term=underline cterm=underline gui=undercurl ctermfg=166 guisp=Orange"],["call","s:mustNothing","execute","highlight default GOVIMInfo term=underline cterm=underline gui=undercurl ctermfg=6 guisp=Cyan"],["call","s:mustNothing","execute","highlight default link GOVIMHint GOVIMInfo"],["call","s:mustNothing","execute","highlight default link GOVIMSignErr ErrorMsg"],["call","s:mustNothing","execute","highlight default GOVIMSignWarn ctermfg=15 ctermbg=166 guisp=Orange guifg=Orange"],["call","s:mustNothing","execute","highlight default GOVIMSignInfo ctermfg=15 ctermbg=6 guisp=Cyan guifg=Cyan"],["call","s:mustNothing","execute","highlight default link GOVIMSignHint GOVIMSignInfo"],["call","s:mustNothing","execute","highlight default GOVIMHoverErr cterm=bold gui=bold ctermfg=1"],["call","s:mustNothing","execute","highlight default GOVIMHoverWarn cterm=bold gui=bold ctermfg=166"],["call","s:mustNothing","execute","highlight default GOVIMHoverInfo cterm=bold gui=bold ctermfg=6"],["call","s:mustNothing","execute","highlight default link GOVIMHoverHint GOVIMHoverInfo"],["call","s:mustNothing","execute","highlight default GOVIMHoverDiagSrc cterm=none gui=italic ctermfg=245 guifg=#8a8a8a"]]]]
'
0.016495 : looking for messages on channels
0.016526 on 0: Getting JSON message 0
0.016536 on 0: Invoking channel callback <SNR>31_define
0.017009 SEND on 0(in): '[33,["callback",32,["",["","","","","","","","","","","","",""]]]]
'
0.017250 : SafeState: back to waiting, triggering SafeStateAgain
0.017325 RECV on 0(out): '[0,[33,"call","s:batchCall",[["call","s:mustNothing","sign_getdefined","GOVIMSignErr"],["call","s:mustNothing","sign_getdefined","GOVIMSignWarn"],["call","s:mustNothing","sign_getdefined","GOVIMSignInfo"],["call","s:mustNothing","sign_getdefined","GOVIMSignHint"]]]]
'
0.017326 : looking for messages on channels
0.017355 on 0: Getting JSON message 0
0.017367 on 0: Invoking channel callback <SNR>31_define
0.017570 SEND on 0(in): '[34,["callback",33,["",[[],[],[],[]]]]]
'
0.017589 : SafeState: back to waiting, triggering SafeStateAgain
0.017878 RECV on 0(out): '[0,[34,"call","s:batchCall",[["call","s:mustNothing","sign_define","GOVIMSignErr",{"text":"\u003e\u003e","texthl":"GOVIMSignErr"}],["call","s:mustNothing","sign_define","GOVIMSignWarn",{"text":"\u003e\u003e","texthl":"GOVIMSignWarn"}],["call","s:mustNothing","sign_define","GOVIMSignInfo",{"text":"\u003e\u003e","texthl":"GOVIMSignInfo"}],["call","s:mustNothing","sign_define","GOVIMSignHint",{"text":"\u003e\u003e","texthl":"GOVIMSignHint"}]]]]
'
0.017880 : looking for messages on channels
0.017910 on 0: Getting JSON message 0
0.017921 on 0: Invoking channel callback <SNR>31_define
0.018119 SEND on 0(in): '[35,["callback",34,["",[0,0,0,0]]]]
'
0.018141 : SafeState: back to waiting, triggering SafeStateAgain
0.018328 RECV on 0(out): '[0,[35,"call","s:batchCall",[["call","s:mustNothing","prop_type_add","GOVIMErr",{"highlight":"GOVIMErr","combine":true,"priority":14}],["call","s:mustNothing","prop_type_add","GOVIMHoverErr",{"highlight":"GOVIMHoverErr","combine":true,"priority":14}],["call","s:mustNothing","prop_type_add","GOVIMWarn",{"highlight":"GOVIMWarn","combine":true,"priority":12}],["call","s:mustNothing","prop_type_add","GOVIMHoverWarn",{"highlight":"GOVIMHoverWarn","combine":true,"priority":12}],["call","s:mustNothing","prop_type_add","GOVIMInfo",{"highlight":"GOVIMInfo","combine":true,"priority":10}],["call","s:mustNothing","prop_type_add","GOVIMHoverInfo",{"highlight":"GOVIMHoverInfo","combine":true,"priority":10}],["call","s:mustNothing","prop_type_add","GOVIMHint",{"highlight":"GOVIMHint","combine":true,"priority":8}],["call","s:mustNothing","prop_type_add","GOVIMHoverHint",{"highlight":"GOVIMHoverHint","combine":true,"priority":8}],["call","s:mustNothing","prop_type_add","GOVIMHoverDiagSrc",{"highlight":"GOVIMHoverDiagSrc","combine":true,"priority":15}]]]]
'
0.018330 : looking for messages on channels
0.018373 on 0: Getting JSON message 0
0.018383 on 0: Invoking channel callback <SNR>31_define
0.018691 SEND on 0(in): '[36,["callback",35,["",[0,0,0,0,0,0,0,0,0]]]]
'
0.018728 : SafeState: back to waiting, triggering SafeStateAgain
0.018798 RECV on 0(out): '[0,[36,"function","GOVIMMotion",["direction","target"]]]
'
0.018799 : looking for messages on channels
0.018814 on 0: Getting JSON message 0
0.018845 on 0: Invoking channel callback <SNR>31_define
0.018963 SEND on 0(in): '[37,["callback",36,[""]]]
'
0.018981 : SafeState: back to waiting, triggering SafeStateAgain
0.019107 RECV on 0(out): '[0,[37,"expr","has(\"gui_running\")"]]
'
0.019111 : looking for messages on channels
0.019143 on 0: Getting JSON message 0
0.019155 on 0: Invoking channel callback <SNR>31_define
0.019236 SEND on 0(in): '[38,["callback",37,["",0]]]
'
0.019255 : SafeState: back to waiting, triggering SafeStateAgain
0.019520 RECV on 0(out): '[0,[38,"ex","let s:gopls_logfile=\"/tmp/gopls_20200210_1141_03_889162069.log\""]]
'
0.019521 : looking for messages on channels
0.019534 on 0: Getting JSON message 0
0.019543 on 0: Invoking channel callback <SNR>31_define
0.019612 SEND on 0(in): '[39,["callback",38,[""]]]
'
0.019628 : SafeState: back to waiting, triggering SafeStateAgain
0.027847 : looking for messages on channels
0.027902 : SafeState: back to waiting, triggering SafeStateAgain
0.079503 RECV on 0(out): '[0,[39,"initcomplete"]]
'
0.079521 on 0: Getting JSON message 0
0.079562 on 0: Invoking channel callback <SNR>31_define
0.080094 : SafeState: reset: ins_typebuf()
0.081056 SEND on 0(in): '[40,["callback",39,[""]]]
'
0.081207 : SafeState: undo reset
0.081229 : SafeState: back to waiting, triggering SafeStateAgain
0.475711 : looking for messages on channels
0.475937 : SafeState: back to waiting, triggering SafeStateAgain
0.635631 : SafeState: reset: ins_typebuf()
0.753675 : SafeState: Start triggering
0.753784 : looking for messages on channels
0.753813 : SafeState: back to waiting, triggering SafeStateAgain
0.811231 : SafeState: reset: ins_typebuf()
0.812280 : SafeState: Start triggering
0.812372 : looking for messages on channels
0.812430 : SafeState: back to waiting, triggering SafeStateAgain
0.891643 : SafeState: reset: ins_typebuf()
0.895472 : SafeState: Start triggering
0.895961 : looking for messages on channels
0.896155 : SafeState: back to waiting, triggering SafeStateAgain
0.987807 : SafeState: reset: ins_typebuf()
0.992374 : SafeState: Start triggering
0.992742 : looking for messages on channels
0.992950 : SafeState: back to waiting, triggering SafeStateAgain
1.883793 : SafeState: reset: ins_typebuf()
1.889485 SEND on 0(in): '[41,["function","autocommand:0",[1]]]
'
1.889657 on 0: Blocking read JSON for id 41
1.889778 : looking for messages on channels
1.889889 on 0: Waiting for up to 30000 msec
1.890500 RECV on 0(out): '[41,["",null]]
'
1.890523 on 0: Getting JSON message 41
1.890659 on 0: Received JSON for id 41
1.900239 SEND on 0(in): '[42,["function","autocommand:1",[{"Num":1,"Name":"/var/home/elias/proj/gio/app/internal/egl/egl.go","Loaded":1,"Contents":"// SPDX-License-Identifier: Unlicense OR MIT\n\n// +build linux windows freebsd openbsd\n\npackage egl\n\nimport (\n\t\"errors\"\n\t\"fmt\"\n\t\"runtime\"\n\t\"strings\"\n\n\t\"gioui.org/app/internal/glimpl\"\n\t\"gioui.org/gpu/gl\"\n)\n\ntype Context struct {\n\tc gl.Functions\n\tdisp _EGLDisplay\n\teglCtx *eglContext\n\teglSurf _EGLSurface\n\twidth, height int\n\trefreshFBO bool\n\t// For sRGB emulation.\n\tsrgbFBO *gl.SRGBFBO\n}\n\ntype eglContext struct {\n\tconfig _EGLConfig\n\tctx _EGLContext\n\tvisualID int\n\tsrgb bool\n\tsurfaceless bool\n}\n\nvar (\n\tnilEGLDisplay _EGLDisplay\n\tnilEGLSurface _EGLSurface\n\tnilEGLContext _EGLContext\n\tnilEGLConfig _EGLConfig\n\tnilEGLNativeWindowType NativeWindowType\n\tEGL_DEFAULT_DISPLAY NativeDisplayType\n)\n\nconst (\n\t_EGL_ALPHA_SIZE = 0x3021\n\t_EGL_BLUE_SIZE = 0x3022\n\t_EGL_CONFIG_CAVEAT = 0x3027\n\t_EGL_CONTEXT_CLIENT_VERSION = 0x3098\n\t_EGL_DEPTH_SIZE = 0x3025\n\t_EGL_GL_COLORSPACE_KHR = 0x309d\n\t_EGL_GL_COLORSPACE_SRGB_KHR = 0x3089\n\t_EGL_GREEN_SIZE = 0x3023\n\t_EGL_EXTENSIONS = 0x3055\n\t_EGL_NATIVE_VISUAL_ID = 0x302e\n\t_EGL_NONE = 0x3038\n\t_EGL_OPENGL_ES2_BIT = 0x4\n\t_EGL_RED_SIZE = 0x3024\n\t_EGL_RENDERABLE_TYPE = 0x3040\n\t_EGL_SURFACE_TYPE = 0x3033\n\t_EGL_WINDOW_BIT = 0x4\n)\n\nfunc (c *Context) Release() {\n\tif c.srgbFBO != nil {\n\t\tc.srgbFBO.Release()\n\t\tc.srgbFBO = nil\n\t}\n\tc.ReleaseSurface()\n\tif c.eglCtx != nil {\n\t\teglDestroyContext(c.disp, c.eglCtx.ctx)\n\t\teglTerminate(c.disp)\n\t\teglReleaseThread()\n\t\tc.eglCtx = nil\n\t}\n\tc.disp = nilEGLDisplay\n}\n\nfunc (c *Context) Present() error {\n\tif c.srgbFBO != nil {\n\t\tc.srgbFBO.Blit()\n\t}\n\tif !eglSwapBuffers(c.disp, c.eglSurf) {\n\t\treturn fmt.Errorf(\"eglSwapBuffers failed (%x)\", eglGetError())\n\t}\n\tif c.srgbFBO != nil {\n\t\tc.srgbFBO.AfterPresent()\n\t}\n\treturn nil\n}\n\nfunc NewContext(disp NativeDisplayType) (*Context, error) {\n\tif err := loadEGL(); err != nil {\n\t\treturn nil, err\n\t}\n\teglDisp := eglGetDisplay(disp)\n\t// eglGetDisplay can return EGL_NO_DISPLAY yet no error\n\t// (EGL_SUCCESS), in which case a default EGL display might be\n\t// available.\n\tif eglDisp == nilEGLDisplay {\n\t\teglDisp = eglGetDisplay(EGL_DEFAULT_DISPLAY)\n\t}\n\tif eglDisp == nilEGLDisplay {\n\t\treturn nil, fmt.Errorf(\"eglGetDisplay failed: 0x%x\", eglGetError())\n\t}\n\teglCtx, err := createContext(eglDisp)\n\tif err != nil {\n\t\treturn nil, err\n\t}\n\tc := &Context{\n\t\tdisp: eglDisp,\n\t\teglCtx: eglCtx,\n\t\tc: new(glimpl.Functions),\n\t}\n\treturn c, nil\n}\n\nfunc (c *Context) Functions() gl.Functions {\n\treturn c.c\n}\n\nfunc (c *Context) ReleaseSurface() {\n\tif c.eglSurf == nilEGLSurface {\n\t\treturn\n\t}\n\t// Make sure any in-flight GL commands are complete.\n\tc.c.Finish()\n\tc.ReleaseCurrent()\n\teglDestroySurface(c.disp, c.eglSurf)\n\tc.eglSurf = nilEGLSurface\n}\n\nfunc (c *Context) VisualID() int {\n\treturn c.eglCtx.visualID\n}\n\nfunc (c *Context) CreateSurface(win NativeWindowType, width, height int) error {\n\teglSurf, err := createSurface(c.disp, c.eglCtx, win)\n\tc.eglSurf = eglSurf\n\tc.width = width\n\tc.height = height\n\tc.refreshFBO = true\n\treturn err\n}\n\nfunc (c *Context) ReleaseCurrent() {\n\tif c.disp != nilEGLDisplay {\n\t\teglMakeCurrent(c.disp, nilEGLSurface, nilEGLSurface, nilEGLContext)\n\t}\n}\n\nfunc (c *Context) MakeCurrent() error {\n\tif c.eglSurf == nilEGLSurface && !c.eglCtx.surfaceless {\n\t\treturn errors.New(\"no surface created yet EGL_KHR_surfaceless_context is not supported\")\n\t}\n\tif !eglMakeCurrent(c.disp, c.eglSurf, c.eglSurf, c.eglCtx.ctx) {\n\t\treturn fmt.Errorf(\"eglMakeCurrent error 0x%x\", eglGetError())\n\t}\n\tif c.eglCtx.srgb || c.eglSurf == nilEGLSurface {\n\t\treturn nil\n\t}\n\tif c.srgbFBO == nil {\n\t\tvar err error\n\t\tc.srgbFBO, err = gl.NewSRGBFBO(c.c)\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t}\n\tif c.refreshFBO {\n\t\tc.refreshFBO = false\n\t\treturn c.srgbFBO.Refresh(c.width, c.height)\n\t}\n\treturn nil\n}\n\nfunc (c *Context) EnableVSync(enable bool) {\n\tif enable {\n\t\teglSwapInterval(c.disp, 1)\n\t} else {\n\t\teglSwapInterval(c.disp, 0)\n\t}\n}\n\nfunc hasExtension(exts []string, ext string) bool {\n\tfor _, e := range exts {\n\t\tif ext == e {\n\t\t\treturn true\n\t\t}\n\t}\n\treturn false\n}\n\nfunc createContext(disp _EGLDisplay) (*eglContext, error) {\n\tmajor, minor, ret := eglInitialize(disp)\n\tif !ret {\n\t\treturn nil, fmt.Errorf(\"eglInitialize failed: 0x%x\", eglGetError())\n\t}\n\t// sRGB framebuffer support on EGL 1.5 or if EGL_KHR_gl_colorspace is supported.\n\texts := strings.Split(eglQueryString(disp, _EGL_EXTENSIONS), \" \")\n\tsrgb := major > 1 || minor >= 5 || hasExtension(exts, \"EGL_KHR_gl_colorspace\")\n\tattribs := []_EGLint{\n\t\t_EGL_RENDERABLE_TYPE, _EGL_OPENGL_ES2_BIT,\n\t\t_EGL_SURFACE_TYPE, _EGL_WINDOW_BIT,\n\t\t_EGL_BLUE_SIZE, 8,\n\t\t_EGL_GREEN_SIZE, 8,\n\t\t_EGL_RED_SIZE, 8,\n\t\t_EGL_CONFIG_CAVEAT, _EGL_NONE,\n\t}\n\tsrgb = false\n\tif srgb {\n\t\tif runtime.GOOS == \"linux\" {\n\t\t\t// Some Mesa drivers crash if an sRGB framebuffer is requested without alpha.\n\t\t\t// https://bugs.freedesktop.org/show_bug.cgi?id=107782.\n\t\t\tattribs = append(attribs, _EGL_ALPHA_SIZE, 1)\n\t\t}\n\t\t// Only request a depth buffer if we're going to render directly to the framebuffer.\n\t\tattribs = append(attribs, _EGL_DEPTH_SIZE, 16)\n\t}\n\tattribs = append(attribs, _EGL_NONE)\n\teglCfg, ret := eglChooseConfig(disp, attribs)\n\tif !ret {\n\t\treturn nil, fmt.Errorf(\"eglChooseConfig failed: 0x%x\", eglGetError())\n\t}\n\tif eglCfg == nilEGLConfig {\n\t\treturn nil, errors.New(\"eglChooseConfig returned 0 configs\")\n\t}\n\tvisID, ret := eglGetConfigAttrib(disp, eglCfg, _EGL_NATIVE_VISUAL_ID)\n\tif !ret {\n\t\treturn nil, errors.New(\"newContext: eglGetConfigAttrib for _EGL_NATIVE_VISUAL_ID failed\")\n\t}\n\tctxAttribs := []_EGLint{\n\t\t_EGL_CONTEXT_CLIENT_VERSION, 3,\n\t\t_EGL_NONE,\n\t}\n\teglCtx := eglCreateContext(disp, eglCfg, nilEGLContext, ctxAttribs)\n\tif eglCtx == nilEGLContext {\n\t\t// Fall back to OpenGL ES 2 and rely on extensions.\n\t\tctxAttribs := []_EGLint{\n\t\t\t_EGL_CONTEXT_CLIENT_VERSION, 2,\n\t\t\t_EGL_NONE,\n\t\t}\n\t\teglCtx = eglCreateContext(disp, eglCfg, nilEGLContext, ctxAttribs)\n\t\tif eglCtx == nilEGLContext {\n\t\t\treturn nil, fmt.Errorf(\"eglCreateContext failed: 0x%x\", eglGetError())\n\t\t}\n\t}\n\treturn &eglContext{\n\t\tconfig: _EGLConfig(eglCfg),\n\t\tctx: _EGLContext(eglCtx),\n\t\tvisualID: int(visID),\n\t\tsrgb: srgb,\n\t\tsurfaceless: hasExtension(exts, \"EGL_KHR_surfaceless_context\"),\n\t}, nil\n}\n\nfunc createSurface(disp _EGLDisplay, eglCtx *eglContext, win NativeWindowType) (_EGLSurface, error) {\n\tvar surfAttribs []_EGLint\n\tif eglCtx.srgb {\n\t\tsurfAttribs = append(surfAttribs, _EGL_GL_COLORSPACE_KHR, _EGL_GL_COLORSPACE_SRGB_KHR)\n\t}\n\tsurfAttribs = append(surfAttribs, _EGL_NONE)\n\teglSurf := eglCreateWindowSurface(disp, eglCtx.config, win, surfAttribs)\n\tif eglSurf == nilEGLSurface && eglCtx.srgb {\n\t\t// Try again without sRGB\n\t\teglCtx.srgb = false\n\t\tsurfAttribs = []_EGLint{_EGL_NONE}\n\t\teglSurf = eglCreateWindowSurface(disp, eglCtx.config, win, surfAttribs)\n\t}\n\tif eglSurf == nilEGLSurface {\n\t\treturn nilEGLSurface, fmt.Errorf(\"newContext: eglCreateWindowSurface failed 0x%x (sRGB=%v)\", eglGetError(), eglCtx.srgb)\n\t}\n\treturn eglSurf, nil\n}\n"}]]]
'
1.900346 on 0: Blocking read JSON for id 42
1.900361 : looking for messages on channels
1.900374 on 0: Waiting for up to 30000 msec
1.900881 RECV on 0(out): '[0,[40,"call","listener_add","GOVIM_internal_EnrichDelta",1]]
'
1.900884 : looking for messages on channels
1.900894 on 0: Getting JSON message 0
1.900905 on 0: Invoking channel callback <SNR>31_define
1.900981 SEND on 0(in): '[43,["callback",40,["",1]]]
'
1.901003 : looking for messages on channels
1.901037 on 0: Waiting for up to 30000 msec
1.901090 RECV on 0(out): '[0,[41,"call","s:batchCall",[["call","s:mustBeZero","sign_unplace","govim"]]]]
'
1.901094 : looking for messages on channels
1.901107 on 0: Getting JSON message 0
1.901119 on 0: Invoking channel callback <SNR>31_define
1.901245 SEND on 0(in): '[44,["callback",41,["",[0]]]]
'
1.901264 : looking for messages on channels
1.901276 on 0: Waiting for up to 30000 msec
1.901457 RECV on 0(out): '[0,[42,"call","s:batchCall",[["call","s:mustNothing","prop_remove",{"id":0,"bufnr":1,"all":1}]]]]
'
1.901461 : looking for messages on channels
1.901473 on 0: Getting JSON message 0
1.901483 on 0: Invoking channel callback <SNR>31_define
1.901606 SEND on 0(in): '[45,["callback",42,["",[0]]]]
'
1.901622 : looking for messages on channels
1.901633 on 0: Waiting for up to 30000 msec
1.902633 RECV on 0(out): '[42,["",null]]
'
1.902650 on 0: Getting JSON message 42
1.902672 on 0: Received JSON for id 42
1.923902 SEND on 0(in): '[46,["function","function:GOVIM_internal_SetUserBusy",[1]]]
'
1.924028 on 0: Blocking read JSON for id 46
1.924095 : looking for messages on channels
1.924159 on 0: Waiting for up to 30000 msec
1.924383 RECV on 0(out): '[46,["",null]]
'
1.924391 on 0: Getting JSON message 46
1.924442 on 0: Received JSON for id 46
1.924501 : SafeState: Start triggering
1.931677 : looking for messages on channels
1.931718 : SafeState: back to waiting, triggering SafeStateAgain
2.587749 : SafeState: reset: key typed
2.588454 : SafeState: Start triggering
2.598850 : looking for messages on channels
2.598917 : SafeState: back to waiting, triggering SafeStateAgain
2.683407 : SafeState: reset: key typed
2.683651 : SafeState: Start triggering
2.683830 : looking for messages on channels
2.683898 : SafeState: back to waiting, triggering SafeStateAgain
3.283706 : SafeState: reset: key typed
3.284087 : SafeState: Start triggering
3.284368 : looking for messages on channels
3.284567 : SafeState: back to waiting, triggering SafeStateAgain
3.323369 : SafeState: reset: key typed
3.323592 : SafeState: Start triggering
3.323741 : looking for messages on channels
3.323765 : SafeState: back to waiting, triggering SafeStateAgain
3.363374 : SafeState: reset: key typed
3.363731 : SafeState: Start triggering
3.364008 : looking for messages on channels
3.364218 : SafeState: back to waiting, triggering SafeStateAgain
3.403987 : SafeState: reset: key typed
3.404299 : SafeState: Start triggering
3.404522 : looking for messages on channels
3.404651 : SafeState: back to waiting, triggering SafeStateAgain
3.443631 : SafeState: reset: key typed
3.443970 : SafeState: Start triggering
3.444260 : looking for messages on channels
3.444454 : SafeState: back to waiting, triggering SafeStateAgain
3.483106 : SafeState: reset: key typed
3.483429 : SafeState: Start triggering
3.483662 : looking for messages on channels
3.483803 : SafeState: back to waiting, triggering SafeStateAgain
3.524411 : SafeState: reset: key typed
3.524710 : SafeState: Start triggering
3.524932 : looking for messages on channels
3.525064 : SafeState: back to waiting, triggering SafeStateAgain
3.564599 : SafeState: reset: key typed
3.564979 : SafeState: Start triggering
3.565264 : looking for messages on channels
3.565462 : SafeState: back to waiting, triggering SafeStateAgain
3.603349 : SafeState: reset: key typed
3.603576 : SafeState: Start triggering
3.603733 : looking for messages on channels
3.603752 : SafeState: back to waiting, triggering SafeStateAgain
3.644347 : SafeState: reset: key typed
3.644714 : SafeState: Start triggering
3.644972 : looking for messages on channels
3.645201 : SafeState: back to waiting, triggering SafeStateAgain
3.684041 : SafeState: reset: key typed
3.684363 : SafeState: Start triggering
3.684642 : looking for messages on channels
3.684799 : SafeState: back to waiting, triggering SafeStateAgain
3.724113 : SafeState: reset: key typed
3.724474 : SafeState: Start triggering
3.724768 : looking for messages on channels
3.724947 : SafeState: back to waiting, triggering SafeStateAgain
3.763749 : SafeState: reset: key typed
3.764054 : SafeState: Start triggering
3.764292 : looking for messages on channels
3.764434 : SafeState: back to waiting, triggering SafeStateAgain
3.803480 : SafeState: reset: key typed
3.803894 : SafeState: Start triggering
3.804188 : looking for messages on channels
3.804375 : SafeState: back to waiting, triggering SafeStateAgain
3.843852 : SafeState: reset: key typed
3.844201 : SafeState: Start triggering
3.844495 : looking for messages on channels
3.844645 : SafeState: back to waiting, triggering SafeStateAgain
3.884239 : SafeState: reset: key typed
3.884607 : SafeState: Start triggering
3.884858 : looking for messages on channels
3.885001 : SafeState: back to waiting, triggering SafeStateAgain
3.924367 : SafeState: reset: key typed
3.924661 : SafeState: Start triggering
3.924939 : looking for messages on channels
3.925098 : SafeState: back to waiting, triggering SafeStateAgain
3.964626 : SafeState: reset: key typed
3.964997 : SafeState: Start triggering
3.965283 : looking for messages on channels
3.965470 : SafeState: back to waiting, triggering SafeStateAgain
4.003950 : SafeState: reset: key typed
4.004293 : SafeState: Start triggering
4.004568 : looking for messages on channels
4.004741 : SafeState: back to waiting, triggering SafeStateAgain
4.044205 : SafeState: reset: key typed
4.044568 : SafeState: Start triggering
4.044901 : looking for messages on channels
4.045108 : SafeState: back to waiting, triggering SafeStateAgain
4.084199 : SafeState: reset: key typed
4.084497 : SafeState: Start triggering
4.084729 : looking for messages on channels
4.084863 : SafeState: back to waiting, triggering SafeStateAgain
4.124682 : SafeState: reset: key typed
4.125051 : SafeState: Start triggering
4.125346 : looking for messages on channels
4.125507 : SafeState: back to waiting, triggering SafeStateAgain
4.163691 : SafeState: reset: key typed
4.164032 : SafeState: Start triggering
4.164306 : looking for messages on channels
4.164507 : SafeState: back to waiting, triggering SafeStateAgain
4.203139 : SafeState: reset: key typed
4.203526 : SafeState: Start triggering
4.203845 : looking for messages on channels
4.204046 : SafeState: back to waiting, triggering SafeStateAgain
4.244248 : SafeState: reset: key typed
4.244580 : SafeState: Start triggering
4.244877 : looking for messages on channels
4.245052 : SafeState: back to waiting, triggering SafeStateAgain
4.283988 : SafeState: reset: key typed
4.284330 : SafeState: Start triggering
4.284608 : looking for messages on channels
4.284764 : SafeState: back to waiting, triggering SafeStateAgain
4.324186 : SafeState: reset: key typed
4.324548 : SafeState: Start triggering
4.324859 : looking for messages on channels
4.325072 : SafeState: back to waiting, triggering SafeStateAgain
4.364435 : SafeState: reset: key typed
4.364766 : SafeState: Start triggering
4.365037 : looking for messages on channels
4.365228 : SafeState: back to waiting, triggering SafeStateAgain
4.404472 : SafeState: reset: key typed
4.404897 : SafeState: Start triggering
4.405138 : looking for messages on channels
4.405279 : SafeState: back to waiting, triggering SafeStateAgain
4.444804 : SafeState: reset: key typed
4.445165 : SafeState: Start triggering
4.445457 : looking for messages on channels
4.445649 : SafeState: back to waiting, triggering SafeStateAgain
4.483264 : SafeState: reset: key typed
4.483633 : SafeState: Start triggering
4.483931 : looking for messages on channels
4.484134 : SafeState: back to waiting, triggering SafeStateAgain
4.524175 : SafeState: reset: key typed
4.524474 : SafeState: Start triggering
4.524720 : looking for messages on channels
4.524868 : SafeState: back to waiting, triggering SafeStateAgain
4.564583 : SafeState: reset: key typed
4.564968 : SafeState: Start triggering
4.565260 : looking for messages on channels
4.565476 : SafeState: back to waiting, triggering SafeStateAgain
4.603033 : SafeState: reset: key typed
4.603295 : SafeState: Start triggering
4.603468 : looking for messages on channels
4.603559 : SafeState: back to waiting, triggering SafeStateAgain
4.644313 : SafeState: reset: key typed
4.644592 : SafeState: Start triggering
4.644764 : looking for messages on channels
4.644860 : SafeState: back to waiting, triggering SafeStateAgain
4.684278 : SafeState: reset: key typed
4.684543 : SafeState: Start triggering
4.684714 : looking for messages on channels
4.684799 : SafeState: back to waiting, triggering SafeStateAgain
4.724623 : SafeState: reset: key typed
4.724923 : SafeState: Start triggering
4.725106 : looking for messages on channels
4.725201 : SafeState: back to waiting, triggering SafeStateAgain
4.763920 : SafeState: reset: key typed
4.764171 : SafeState: Start triggering
4.764344 : looking for messages on channels
4.764434 : SafeState: back to waiting, triggering SafeStateAgain
4.804157 : SafeState: reset: key typed
4.804425 : SafeState: Start triggering
4.804597 : looking for messages on channels
4.804789 : SafeState: back to waiting, triggering SafeStateAgain
4.843845 : SafeState: reset: key typed
4.844175 : SafeState: Start triggering
4.844458 : looking for messages on channels
4.844654 : SafeState: back to waiting, triggering SafeStateAgain
4.884265 : SafeState: reset: key typed
4.884629 : SafeState: Start triggering
4.884903 : looking for messages on channels
4.885046 : SafeState: back to waiting, triggering SafeStateAgain
4.924294 : SafeState: reset: key typed
4.924625 : SafeState: Start triggering
4.924875 : looking for messages on channels
4.925065 : SafeState: back to waiting, triggering SafeStateAgain
4.963766 : SafeState: reset: key typed
4.963936 : SafeState: Start triggering
4.964051 : looking for messages on channels
4.964149 : SafeState: back to waiting, triggering SafeStateAgain
5.003874 : SafeState: reset: key typed
5.004213 : SafeState: Start triggering
5.004504 : looking for messages on channels
5.004675 : SafeState: back to waiting, triggering SafeStateAgain
5.044254 : SafeState: reset: key typed
5.044628 : SafeState: Start triggering
5.044946 : looking for messages on channels
5.045159 : SafeState: back to waiting, triggering SafeStateAgain
5.084198 : SafeState: reset: key typed
5.084528 : SafeState: Start triggering
5.084799 : looking for messages on channels
5.084964 : SafeState: back to waiting, triggering SafeStateAgain
5.124201 : SafeState: reset: key typed
5.124292 : SafeState: Start triggering
5.124337 : looking for messages on channels
5.124359 : SafeState: back to waiting, triggering SafeStateAgain
5.164603 : SafeState: reset: key typed
5.164888 : SafeState: Start triggering
5.165085 : looking for messages on channels
5.165223 : SafeState: back to waiting, triggering SafeStateAgain
5.203652 : SafeState: reset: key typed
5.204008 : SafeState: Start triggering
5.204300 : looking for messages on channels
5.204511 : SafeState: back to waiting, triggering SafeStateAgain
5.243161 : SafeState: reset: key typed
5.243307 : SafeState: Start triggering
5.243382 : looking for messages on channels
5.243453 : SafeState: back to waiting, triggering SafeStateAgain
5.283892 : SafeState: reset: key typed
5.284294 : SafeState: Start triggering
5.284636 : looking for messages on channels
5.284782 : SafeState: back to waiting, triggering SafeStateAgain
5.323589 : SafeState: reset: key typed
5.323956 : SafeState: Start triggering
5.324229 : looking for messages on channels
5.324450 : SafeState: back to waiting, triggering SafeStateAgain
5.363582 : SafeState: reset: key typed
5.363962 : SafeState: Start triggering
5.364256 : looking for messages on channels
5.364442 : SafeState: back to waiting, triggering SafeStateAgain
5.403234 : SafeState: reset: key typed
5.403609 : SafeState: Start triggering
5.403927 : looking for messages on channels
5.404116 : SafeState: back to waiting, triggering SafeStateAgain
5.444198 : SafeState: reset: key typed
5.444547 : SafeState: Start triggering
5.444861 : looking for messages on channels
5.445001 : SafeState: back to waiting, triggering SafeStateAgain
5.715664 : SafeState: reset: key typed
5.716055 : SafeState: Start triggering
5.716349 : looking for messages on channels
5.716534 : SafeState: back to waiting, triggering SafeStateAgain
5.955522 : SafeState: reset: key typed
5.955905 : SafeState: Start triggering
5.956206 : looking for messages on channels
5.956337 : SafeState: back to waiting, triggering SafeStateAgain
6.323571 : SafeState: reset: key typed
6.323950 : SafeState: Start triggering
6.324434 : looking for messages on channels
6.324581 : SafeState: back to waiting, triggering SafeStateAgain
6.515527 : SafeState: reset: key typed
6.516206 SEND on 0(in): '[47,["function","function:GOVIM_internal_BufChanged",[1,209,210,0,[{"lnum":209,"col":2,"added":0,"end":210,"lines":["\t/srgb = false"]}]]]]
'
6.516433 on 0: Blocking read JSON for id 47
6.516622 : looking for messages on channels
6.516780 on 0: Waiting for up to 30000 msec
6.521225 RECV on 0(out): '[47,["",null]]
'
6.521246 on 0: Getting JSON message 47
6.521338 on 0: Received JSON for id 47
6.522075 : SafeState: Start triggering
6.522259 : looking for messages on channels
6.522340 : SafeState: back to waiting, triggering SafeStateAgain
6.627578 : SafeState: reset: key typed
6.628110 SEND on 0(in): '[48,["function","function:GOVIM_internal_BufChanged",[1,209,210,0,[{"lnum":209,"col":3,"added":0,"end":210,"lines":["\t//srgb = false"]}]]]]
'
6.628385 on 0: Blocking read JSON for id 48
6.628556 : looking for messages on channels
6.628695 on 0: Waiting for up to 30000 msec
6.630046 RECV on 0(out): '[48,["",null]]
'
6.630069 on 0: Getting JSON message 48
6.630201 on 0: Received JSON for id 48
6.631156 : SafeState: Start triggering
6.631358 : looking for messages on channels
6.631486 : SafeState: back to waiting, triggering SafeStateAgain
6.944960 : SafeState: reset: key typed
6.978457 : SafeState: Start triggering
6.978667 : looking for messages on channels
6.978753 : SafeState: back to waiting, triggering SafeStateAgain
7.051583 : SafeState: reset: key typed
7.051847 : SafeState: Start triggering
7.051967 : looking for messages on channels
7.052056 : SafeState: back to waiting, triggering SafeStateAgain
7.171563 : SafeState: reset: key typed
7.171938 : SafeState: Start triggering
7.172065 : looking for messages on channels
7.172155 : SafeState: back to waiting, triggering SafeStateAgain
7.243526 : SafeState: reset: key typed
7.244009 SEND on 0(in): '[49,["function","autocommand:2",[1]]]
'
7.244118 on 0: Blocking read JSON for id 49
7.244185 : looking for messages on channels
7.244248 on 0: Waiting for up to 30000 msec
7.343076 RECV on 0(out): '[49,["",null]]
'
7.343085 on 0: Getting JSON message 49
7.343099 on 0: Received JSON for id 49
7.364304 SEND on 0(in): '[50,["function","autocommand:3",[1]]]
'
7.364421 on 0: Blocking read JSON for id 50
7.364541 : looking for messages on channels
7.364614 on 0: Waiting for up to 30000 msec
37.368956 on 0: Timed out on id 50
37.369312 : SafeState: Start triggering
37.369693 : looking for messages on channels
37.369888 : SafeState: back to waiting, triggering SafeStateAgain
37.370118 : SafeState: reset: key typed
37.370751 SEND on 0(in): '[51,["function","function:GOVIM_internal_BufChanged",[1,209,210,0,[{"lnum":209,"col":1,"added":0,"end":210,"lines":["\tsrgb = false"]}]]]]
'
37.370982 on 0: Blocking read JSON for id 51
37.371148 : looking for messages on channels
37.371221 on 0: Waiting for up to 30000 msec
67.401354 on 0: Timed out on id 51
67.402375 : SafeState: Start triggering
67.402655 : looking for messages on channels
67.402799 : SafeState: back to waiting, triggering SafeStateAgain
68.404053 : SafeState: reset: key typed
68.404471 SEND on 0(in): '[52,["function","function:GOVIM_internal_SetUserBusy",[0]]]
'
68.404700 on 0: Blocking read JSON for id 52
68.404850 : looking for messages on channels
68.405043 on 0: Waiting for up to 30000 msec
98.434905 on 0: Timed out on id 52
98.435227 : SafeState: Start triggering
98.435383 : looking for messages on channels
98.435528 : SafeState: back to waiting, triggering SafeStateAgain
98.435704 : SafeState: reset: key typed
98.435958 SEND on 0(in): '[53,["function","function:GOVIM_internal_SetUserBusy",[1]]]
'
98.436172 on 0: Blocking read JSON for id 53
98.436362 : looking for messages on channels
98.436462 on 0: Waiting for up to 30000 msec
128.466448 on 0: Timed out on id 53
128.466916 : looking for messages on channels
128.467589 : SafeState: Start triggering
128.467639 : looking for messages on channels
128.467654 : SafeState: back to waiting, triggering SafeStateAgain
132.730236 : SafeState: reset: key typed
132.730440 : SafeState: Start triggering
132.730661 : looking for messages on channels
132.730794 : SafeState: back to waiting, triggering SafeStateAgain
133.330426 : SafeState: reset: key typed
133.330659 : SafeState: Start triggering
133.330795 : looking for messages on channels
133.330884 : SafeState: back to waiting, triggering SafeStateAgain
133.370348 : SafeState: reset: key typed
133.370435 : SafeState: Start triggering
133.370504 : looking for messages on channels
133.370568 : SafeState: back to waiting, triggering SafeStateAgain
133.410030 : SafeState: reset: key typed
133.410251 : SafeState: Start triggering
133.410475 : looking for messages on channels
133.410688 : SafeState: back to waiting, triggering SafeStateAgain
133.450880 : SafeState: reset: key typed
133.451115 : SafeState: Start triggering
133.451340 : looking for messages on channels
133.451553 : SafeState: back to waiting, triggering SafeStateAgain
133.490467 : SafeState: reset: key typed
133.490647 : SafeState: Start triggering
133.490847 : looking for messages on channels
133.491008 : SafeState: back to waiting, triggering SafeStateAgain
133.834307 : SafeState: reset: ins_typebuf()
133.834615 : SafeState: Start triggering
133.834846 : looking for messages on channels
133.835009 : SafeState: back to waiting, triggering SafeStateAgain
133.986212 : SafeState: reset: ins_typebuf()
133.986502 : SafeState: Start triggering
133.986737 : looking for messages on channels
133.986880 : SafeState: back to waiting, triggering SafeStateAgain
134.122178 : SafeState: reset: ins_typebuf()
134.122478 : SafeState: Start triggering
134.122673 : looking for messages on channels
134.122756 : SafeState: back to waiting, triggering SafeStateAgain
134.258113 : SafeState: reset: ins_typebuf()
134.258410 : SafeState: Start triggering
134.258660 : looking for messages on channels
134.258858 : SafeState: back to waiting, triggering SafeStateAgain
134.394194 : SafeState: reset: ins_typebuf()
134.394495 : SafeState: Start triggering
134.394750 : looking for messages on channels
134.394924 : SafeState: back to waiting, triggering SafeStateAgain
134.842199 : SafeState: reset: key typed
134.842410 : SafeState: Start triggering
134.842652 : looking for messages on channels
134.842845 : SafeState: back to waiting, triggering SafeStateAgain
134.994187 : SafeState: reset: key typed
134.994445 : SafeState: Start triggering
134.994669 : looking for messages on channels
134.994851 : SafeState: back to waiting, triggering SafeStateAgain
135.162224 : SafeState: reset: key typed
135.162492 : SafeState: Start triggering
135.162739 : looking for messages on channels
135.162873 : SafeState: back to waiting, triggering SafeStateAgain
135.265922 : SafeState: reset: key typed
135.266097 : SafeState: Start triggering
135.266242 : looking for messages on channels
135.266377 : SafeState: back to waiting, triggering SafeStateAgain
135.306184 : SafeState: reset: key typed
135.306440 : SafeState: Start triggering
135.306653 : looking for messages on channels
135.306849 : SafeState: back to waiting, triggering SafeStateAgain
135.578201 : SafeState: reset: key typed
135.578470 : SafeState: Start triggering
135.578708 : looking for messages on channels
135.578949 : SafeState: back to waiting, triggering SafeStateAgain
135.778254 : SafeState: reset: key typed
135.779058 : SafeState: Start triggering
135.779280 : looking for messages on channels
135.779447 : SafeState: back to waiting, triggering SafeStateAgain
136.554304 : SafeState: reset: key typed
136.554850 : looking for messages on channels
150.290204 : SafeState: Start triggering
150.291773 : looking for messages on channels
150.291968 : SafeState: back to waiting, triggering SafeStateAgain
151.293234 : SafeState: reset: key typed
151.293667 SEND on 0(in): '[54,["function","function:GOVIM_internal_SetUserBusy",[0]]]
'
151.293909 on 0: Blocking read JSON for id 54
151.294087 : looking for messages on channels
151.294238 on 0: Waiting for up to 30000 msec
181.295755 on 0: Timed out on id 54
181.296114 : SafeState: Start triggering
181.296365 : looking for messages on channels
181.296577 : SafeState: back to waiting, triggering SafeStateAgain
181.296798 : SafeState: reset: key typed
181.297118 SEND on 0(in): '[55,["function","function:GOVIM_internal_SetUserBusy",[1]]]
'
181.297287 on 0: Blocking read JSON for id 55
181.297432 : looking for messages on channels
181.297535 on 0: Waiting for up to 30000 msec
211.302232 on 0: Timed out on id 55
211.302560 : SafeState: Start triggering
211.302888 : looking for messages on channels
211.303071 : SafeState: back to waiting, triggering SafeStateAgain
211.303326 : SafeState: reset: key typed
211.305222 : looking for messages on channels
211.307149 : SafeState: Start triggering
211.307315 : looking for messages on channels
211.307454 : SafeState: back to waiting, triggering SafeStateAgain
211.307655 : SafeState: reset: key typed
211.318192 : looking for messages on channels
211.323803 : SafeState: Start triggering
211.323998 : looking for messages on channels
211.324142 : SafeState: back to waiting, triggering SafeStateAgain
227.225314 : SafeState: reset: ins_typebuf()
227.225613 : SafeState: Start triggering
227.225790 : looking for messages on channels
227.225888 : SafeState: back to waiting, triggering SafeStateAgain
227.361350 : SafeState: reset: ins_typebuf()
227.361662 : SafeState: Start triggering
227.361917 : looking for messages on channels
227.362130 : SafeState: back to waiting, triggering SafeStateAgain
227.505270 : SafeState: reset: ins_typebuf()
227.505580 : SafeState: Start triggering
227.505846 : looking for messages on channels
227.505992 : SafeState: back to waiting, triggering SafeStateAgain
228.432812 : SafeState: reset: key typed
228.432921 : SafeState: Start triggering
228.432999 : looking for messages on channels
228.433075 : SafeState: back to waiting, triggering SafeStateAgain
229.137370 : SafeState: reset: key typed
229.137864 : looking for messages on channels
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment