govim: cmd/govim: vim hangs during the first opening of a go file
What version of Vim/Gvim are you using?
Vim/Gvim version
$ vim --version ``` ❯ vim --version VIM - Vi IMproved 8.1 (2018 May 18, compiled Jun 26 2019 04:36:15) macOS version Included patches: 1-1600 Compiled by Homebrew Huge version without GUI. Features included (+) or not (-): +acl -farsi -mouse_sysmouse -tag_any_white +arabic +file_in_path +mouse_urxvt -tcl +autocmd +find_in_path +mouse_xterm +termguicolors +autochdir +float +multi_byte +terminal -autoservername +folding +multi_lang +terminfo -balloon_eval -footer -mzscheme +termresponse +balloon_eval_term +fork() +netbeans_intg +textobjects -browse +gettext +num64 +textprop ++builtin_terms -hangul_input +packages +timers +byte_offset +iconv +path_extra +title +channel +insert_expand +perl -toolbar +cindent +job +persistent_undo +user_commands -clientserver +jumplist +postscript +vartabs +clipboard +keymap +printer +vertsplit +cmdline_compl +lambda +profile +virtualedit +cmdline_hist +langmap -python +visual +cmdline_info +libcall +python3 +visualextra +comments +linebreak +quickfix +viminfo +conceal +lispindent +reltime +vreplace +cryptv +listcmds +rightleft +wildignore +cscope +localmap +ruby +wildmenu +cursorbind +lua +scrollbind +windows +cursorshape +menu +signs +writebackup +dialog_con +mksession +smartindent -X11 +diff +modify_fname -sound -xfontset +digraphs +mouse +spell -xim -dnd -mouseshape +startuptime -xpm -ebcdic +mouse_dec +statusline -xsmp +emacs_tags -mouse_gpm -sun_workshop -xterm_clipboard +eval -mouse_jsbterm +syntax -xterm_save +ex_extra +mouse_netterm +tag_binary +extra_search +mouse_sgr -tag_old_static system vimrc file: "$VIM/vimrc" user vimrc file: "$HOME/.vimrc" 2nd user vimrc file: "~/.vim/vimrc" user exrc file: "$HOME/.exrc" defaults file: "$VIMRUNTIME/defaults.vim" fall-back for $VIM: "/usr/local/share/vim" Compilation: clang -c -I. -Iproto -DHAVE_CONFIG_H -DMACOS_X -DMACOS_X_DARWIN -g -O2 -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1 Linking: clang -L. -fstack-protector-strong -L/usr/local/lib -L/usr/local/opt/libyaml/lib -L/usr/local/opt/openssl/lib -L/usr/local/opt/readline/lib -L/usr/local/lib -o vim -lncurses -liconv -lintl -framework AppKit -L/usr/local/opt/lua/lib -llua5.3 -mmacosx-version-min=10.14 -fstack-protector-strong -L/usr/local/lib -L/usr/local/Cellar/perl/5.30.0/lib/perl5/5.30.0/darwin-thread-multi-2level/CORE -lperl -lm -lutil -lc -L/usr/local/opt/python/Frameworks/Python.framework/Versions/3.7/lib/python3.7/config-3.7m-darwin -lpython3.7m -framework CoreFoundation -lruby.2.6 ```
What version of Go are you using (go version
)?
``` ❯ go version go version go1.12.6 darwin/amd64 ```
What operating system and processor architecture are you using (go env
)?
go env
Output
``` ❯ go env GOARCH="amd64" GOBIN="" GOCACHE="/Users/gbrautigam/Library/Caches/go-build" GOEXE="" GOFLAGS="" GOHOSTARCH="amd64" GOHOSTOS="darwin" GOOS="darwin" GOPATH="/Users/gbrautigam/gohome" GOPROXY="" GORACE="" GOROOT="/usr/local/Cellar/go/1.12.6/libexec" GOTMPDIR="" GOTOOLDIR="/usr/local/Cellar/go/1.12.6/libexec/pkg/tool/darwin_amd64" GCCGO="gccgo" CC="clang" CXX="clang++" CGO_ENABLED="1" GOMOD="" CGO_CFLAGS="-g -O2" CGO_CPPFLAGS="" CGO_CXXFLAGS="-g -O2" CGO_FFLAGS="-g -O2" CGO_LDFLAGS="-g -O2" PKG_CONFIG="pkg-config" GOGCCFLAGS="-fPIC -m64 -pthread -fno-caret-diagnostics -Qunused-arguments -fmessage-length=0 -fdebug-prefix-map=/var/folders/0z/6rjjmv912_l4ttjgwcv1yg600000gn/T/go-build098873516=/tmp/go-build -gno-record-gcc-switches -fno-common" ```
What version/commit of govim
are you using?
Latest, just did a PlugUpgrade.
What is the output of :messages
in Vim?
Messages maintainer: Bram Moolenaar <Bram@vim.org>
"demo6_voice/main.go" 36L, 487C
Do the Vim channel, govim
or gopls
log files show anything interesting?
# gopls
[Trace - 1:07:22 PM] Sending request 'initialize - (1)'.
Params: {"processId":0,"rootUri":"file:///Users/gbrautigam/goprojects/drone-demo","capabilities":{"workspace":{"workspaceEdit":{},"didChangeConfiguration":{"dynamicRegistration":true},"didChangeWatchedFil
es":{},"symbol":{"symbolKind":{}},"executeCommand":{},"configuration":true},"textDocument":{"synchronization":{},"completion":{"completionItem":{},"completionItemKind":{}},"hover":{"contentFormat":["plain
text"]},"signatureHelp":{"signatureInformation":{"parameterInformation":{}}},"references":{},"documentHighlight":{},"documentSymbol":{"symbolKind":{}},"formatting":{},"rangeFormatting":{},"onTypeFormattin
g":{},"definition":{},"codeAction":{"codeActionLiteralSupport":{"codeActionKind":{"valueSet":null}}},"codeLens":{},"documentLink":{},"rename":{},"publishDiagnostics":{},"implementation":{},"typeDefinition
":{},"colorProvider":{},"foldingRange":{},"declaration":{}},"window":{}},"initializationOptions":{"incrementalSync":true,"noDocsOnHover":true},"workspaceFolders":null}
[Trace - 1:07:22 PM] Received response 'initialize - (1)' in 116ms.
Params: {"capabilities":{"textDocumentSync":{"openClose":true,"change":2,"save":{}},"hoverProvider":true,"completionProvider":{"triggerCharacters":["."]},"signatureHelpProvider":{"triggerCharacters":["(",","]},"definitionProvider":true,"referencesProvider":true,"documentHighlightProvider":true,"documentSymbolProvider":true,"codeActionProvider":true,"documentFormattingProvider":true,"renameProvider":true,"documentLinkProvider":{},"typeDefinitionProvider":true,"workspace":{"workspaceFolders":{"supported":true,"changeNotifications":"workspace/didChangeWorkspaceFolders"}}},"custom":null}
[Trace - 1:07:22 PM] Sending notification 'initialized'.
Params: {}
[Trace - 1:07:22 PM] Received request 'client/registerCapability - (1)'.
Params: {"registrations":[{"id":"workspace/didChangeConfiguration","method":"workspace/didChangeConfiguration"},{"id":"workspace/didChangeWorkspaceFolders","method":"workspace/didChangeWorkspaceFolders"}]}
[Trace - 1:07:22 PM] Sending response 'client/registerCapability - (1)' in 1ms.
Params: {}
[Trace - 1:07:22 PM] Received request 'workspace/configuration - (2)'.
Params: {"items":[{"scopeUri":"file:///Users/gbrautigam/goprojects/drone-demo","section":"gopls"}]}
[Trace - 1:07:22 PM] Sending response 'workspace/configuration - (2)' in 1ms.
Params: [{"noDocsOnHover":true}]
[Trace - 1:07:22 PM] Received notification 'window/logMessage'.
Params: {"type":3,"message":"Build info\n----------\ngolang.org/x/tools/gopls v0.1.1\n golang.org/x/tools/gopls@v0.1.2-0.20190628222527-fb37f6ba8261 h1:3A2gqKo+Ks0waBO08n+uxOsSGD0r1bsVmYOL1ljVrfk=\n golang.org/x/sync@v0.0.0-20190423024810-112230192c58 h1:8gQV6CLnAEikrhgkHFbMAEhagSSnXWGV915qUMm9mrU=\n golang.org/x/tools@v0.0.0-20190628222527-fb37f6ba8261 h1:KP5slYyJf3GFQbPLTWjQ0TCqBQ73hYpqtCElF+iSruQ=\n\nGo info\n-------\ngo version go1.12.6 darwin/amd64\n\nGOARCH=\"amd64\"\nGOBIN=\"\"\nGOCACHE=\"/Users/gbrautigam/Library/Caches/go-build\"\nGOEXE=\"\"\nGOFLAGS=\"\"\nGOHOSTARCH=\"amd64\"\nGOHOSTOS=\"darwin\"\nGOOS=\"darwin\"\nGOPATH=\"/Users/gbrautigam/gohome\"\nGOPROXY=\"\"\nGORACE=\"\"\nGOROOT=\"/usr/local/Cellar/go/1.12.6/libexec\"\nGOTMPDIR=\"\"\nGOTOOLDIR=\"/usr/local/Cellar/go/1.12.6/libexec/pkg/tool/darwin_amd64\"\nGCCGO=\"gccgo\"\nCC=\"clang\"\nCXX=\"clang++\"\nCGO_ENABLED=\"1\"\nGOMOD=\"/Users/gbrautigam/goprojects/drone-demo/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 -fno-caret-diagnostics -Qunused-arguments -fmessage-length=0 -fdebug-prefix-map=/var/folders/0z/6rjjmv912_l4ttjgwcv1yg600000gn/T/go-build571942527=/tmp/go-build -gno-record-gcc-switches -fno-common\"\n"}
[Trace - 1:07:28 PM] Sending notification 'textDocument/didOpen'.
Params: {"textDocument":{"uri":"file:///Users/gbrautigam/goprojects/drone-demo/demo6_voice/main.go","languageId":"go","version":0,"text":"package main\n\nimport (\n\t\"time\"\n\n\t\"gobot.io/x/gobot\"\n\t\"gobot.io/x/gobot/platforms/dji/tello\"\n)\n\nfunc main() {\n\tdrone := tello.NewDriver(\"8888\")\n\n\twork := func() {\n\t\tdrone.TakeOff()\n\n\t\tgobot.After(8*time.Second, func() {\n\t\t\tdrone.FrontFlip()\n\t\t})\n\n\t\tgobot.After(13*time.Second, func() {\n\t\t\tdrone.BackFlip()\n\t\t})\n\n\t\tgobot.After(18*time.Second, func() {\n\t\t\tdrone.Land()\n\t\t})\n\t}\n\n\trobot := gobot.NewRobot(\"tello\",\n\t\t[]gobot.Connection{},\n\t\t[]gobot.Device{drone},\n\t\twork,\n\t)\n\n\trobot.Start()\n}\n"}}
[Trace - 1:07:29 PM] Received notification 'textDocument/publishDiagnostics'.
Params: {"uri":"file:///Users/gbrautigam/goprojects/drone-demo/demo6_voice/main.go","diagnostics":[]}
#govim
2019-07-02T13:07:22.156920: run: waiting to read a JSON message
2019-07-02T13:07:22.157789: vim start =======================
2019-07-02T13:07:22.157789: sendJSONMsg: [0,[1,"loaded"]]
2019-07-02T13:07:22.157789: vim end =======================
2019-07-02T13:07:22.550276: vim start =======================
2019-07-02T13:07:22.550276: recvJSONMsg: [1] ["callback",1,[""]]
2019-07-02T13:07:22.550276: vim end =======================
2019-07-02T13:07:22.550343: run: waiting to read a JSON message
2019-07-02T13:07:22.550969: vim start =======================
2019-07-02T13:07:22.550969: sendJSONMsg: [0,[2,"ex","let s:govim_logfile=\"/var/folders/0z/6rjjmv912_l4ttjgwcv1yg600000gn/T/govim_log_20190702_1307_22_449874843\""]]
2019-07-02T13:07:22.550969: vim end =======================
2019-07-02T13:07:22.551227: vim start =======================
2019-07-02T13:07:22.551227: recvJSONMsg: [2] ["callback",2,[""]]
2019-07-02T13:07:22.551227: vim end =======================
2019-07-02T13:07:22.551258: run: waiting to read a JSON message
2019-07-02T13:07:22.551282: Go version go1.12.6
2019-07-02T13:07:22.551770: Build info: &debug.BuildInfo{
2019-07-02T13:07:22.551770: Path: "github.com/myitcv/govim/cmd/govim",
2019-07-02T13:07:22.551770: Main: debug.Module{
2019-07-02T13:07:22.551770: Path: "github.com/myitcv/govim",
2019-07-02T13:07:22.551770: Version: "(devel)",
2019-07-02T13:07:22.551770: Sum: "",
2019-07-02T13:07:22.551770: Replace: (*debug.Module)(nil),
2019-07-02T13:07:22.551770: },
2019-07-02T13:07:22.551770: Deps: {
2019-07-02T13:07:22.551770: &debug.Module{
2019-07-02T13:07:22.551770: Path: "github.com/fsnotify/fsnotify",
2019-07-02T13:07:22.551770: Version: "v1.4.7",
2019-07-02T13:07:22.551770: Sum: "h1:IXs+QLmnXW2CcXuY+8Mzv/fWEsPGWxqefPtCP5CnV9I=",
2019-07-02T13:07:22.551770: Replace: (*debug.Module)(nil),
2019-07-02T13:07:22.551770: },
2019-07-02T13:07:22.551770: &debug.Module{
2019-07-02T13:07:22.551770: Path: "github.com/kr/pretty",
2019-07-02T13:07:22.551770: Version: "v0.1.0",
2019-07-02T13:07:22.551770: Sum: "h1:L/CwN0zerZDmRFUapSPitk6f+Q3+0za1rQkzVuMiMFI=",
2019-07-02T13:07:22.551770: Replace: (*debug.Module)(nil),
2019-07-02T13:07:22.551770: },
2019-07-02T13:07:22.551770: &debug.Module{
2019-07-02T13:07:22.551770: Path: "github.com/kr/text",
2019-07-02T13:07:22.551770: Version: "v0.1.0",
2019-07-02T13:07:22.551770: Sum: "h1:45sCR5RtlFHMR4UwH9sdQ5TC8v0qDQCHnXt+kaKSTVE=",
2019-07-02T13:07:22.551770: Replace: (*debug.Module)(nil),
2019-07-02T13:07:22.551770: },
2019-07-02T13:07:22.551770: &debug.Module{
2019-07-02T13:07:22.551770: Path: "github.com/rogpeppe/go-internal",
2019-07-02T13:07:22.551770: Version: "v1.3.0",
2019-07-02T13:07:22.551770: Sum: "h1:RR9dF3JtopPvtkroDZuVD7qquD0bnHlKSqaQhgwt8yk=",
2019-07-02T13:07:22.551770: Replace: (*debug.Module)(nil),
2019-07-02T13:07:22.551770: },
2019-07-02T13:07:22.551770: &debug.Module{
2019-07-02T13:07:22.551770: Path: "golang.org/x/sys",
2019-07-02T13:07:22.551770: Version: "v0.0.0-20190429190828-d89cdac9e872",
2019-07-02T13:07:22.551770: Sum: "h1:cGjJzUd8RgBw428LXP65YXni0aiGNA4Bl+ls8SmLOm8=",
2019-07-02T13:07:22.551770: Replace: (*debug.Module)(nil),
2019-07-02T13:07:22.551770: },
2019-07-02T13:07:22.551770: &debug.Module{
2019-07-02T13:07:22.551770: Path: "gopkg.in/tomb.v2",
2019-07-02T13:07:22.551770: Version: "v2.0.0-20161208151619-d5d1b5820637",
2019-07-02T13:07:22.551770: Sum: "h1:yiW+nvdHb9LVqSHQBXfZCieqV4fzYhNBql77zY0ykqs=",
2019-07-02T13:07:22.551770: Replace: (*debug.Module)(nil),
2019-07-02T13:07:22.551770: },
2019-07-02T13:07:22.551770: },
2019-07-02T13:07:22.551770: }
2019-07-02T13:07:22.551812: vim start =======================
2019-07-02T13:07:22.551812: sendJSONMsg: [0,[3,"expr","{\"Version\": execute(\"version\"), \"VersionLong\": exists(\"v:versionlong\")?v:versionlong:-1, \"GuiRunning\": has(\"gui_running\")}"]]
2019-07-02T13:07:22.551812: vim end =======================
2019-07-02T13:07:22.552352: vim start =======================
2019-07-02T13:07:22.552352: recvJSONMsg: [3] ["callback",3,["",{"Version":"\n\nVIM - Vi IMproved 8.1 (2018 May 18, compiled Jun 26 2019 04:36:15)\nmacOS version\nIncluded patches: 1-1600\nCompiled by Homebrew\nHuge version without GUI. Features included (+) or not (-):\n+acl +clipboard -dnd +gettext +localmap +mouse_urxvt +profile +statusline +timers +windows\n+arabic +cmdline_compl -ebcdic -hangul_input +lua +mouse_xterm -python -sun_workshop +title +writebackup\n+autocmd +cmdline_hist +emacs_tags +iconv +menu +multi_byte +python3 +syntax -toolbar -X11\n+autochdir +cmdline_info +eval +insert_expand +mksession +multi_lang +quickfix +tag_binary +user_commands -xfontset\n-autoservername +comments +ex_extra +job +modify_fname -mzscheme +reltime -tag_old_static +vartabs -xim\n-balloon_eval +conceal +extra_search +jumplist +mouse +netbeans_intg +rightleft -tag_any_white +vertsplit -xpm\n+balloon_eval_term +cryptv -farsi +keymap -mouseshape +num64 +ruby -tcl +virtualedit -xsmp\n-browse +cscope +file_in_path +lambda +mouse_dec +packages +scrollbind +termguicolors +visual -xterm_clipboard\n++builtin_terms +cursorbind +find_in_path +langmap -mouse_gpm +path_extra +signs +terminal +visualextra -xterm_save\n+byte_offset +cursorshape +float +libcall -mouse_jsbterm +perl +smartindent +terminfo +viminfo \n+channel +dialog_con +folding +linebreak +mouse_netterm +persistent_undo -sound +termresponse +vreplace \n+cindent +diff -footer +lispindent +mouse_sgr +postscript +spell +textobjects +wildignore \n-clientserver +digraphs +fork() +listcmds -mouse_sysmouse +printer +startuptime +textprop +wildmenu \n system vimrc file: \"$VIM/vimrc\"\n user vimrc file: \"$HOME/.vimrc\"\n 2nd user vimrc file: \"~/.vim/vimrc\"\n user exrc file: \"$HOME/.exrc\"\n defaults file: \"$VIMRUNTIME/defaults.vim\"\n fall-back for $VIM: \"/usr/local/share/vim\"\nCompilation: clang -c -I. -Iproto -DHAVE_CONFIG_H -DMACOS_X -DMACOS_X_DARWIN -g -O2 -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1 \nLinking: clang -L. -fstack-protector-strong -L/usr/local/lib -L/usr/local/opt/libyaml/lib -L/usr/local/opt/openssl/lib -L/usr/local/opt/readline/lib -L/usr/local/lib -o vim -lncurses -liconv -lintl -framework AppKit -L/usr/local/opt/lua/lib -llua5.3 -mmacosx-version-min=10.14 -fstack-protector-strong -L/usr/local/lib -L/usr/local/Cellar/perl/5.30.0/lib/perl5/5.30.0/darwin-thread-multi-2level/CORE -lperl -lm -lutil -lc -L/usr/local/opt/python/Frameworks/Python.framework/Versions/3.7/lib/python3.7/config-3.7m-darwin -lpython3.7m -framework CoreFoundation -lruby.2.6 ","GuiRunning":0,"VersionLong":8011600}]]
2019-07-02T13:07:22.552352: vim end =======================
2019-07-02T13:07:22.552445: run: waiting to read a JSON message
2019-07-02T13:07:22.552566: Loaded against vim v8.1.1600
2019-07-02T13:07:22.552602: vim start =======================
2019-07-02T13:07:22.552602: sendJSONMsg: [0,[4,"ex","augroup govim"]]
2019-07-02T13:07:22.552602: vim end =======================
2019-07-02T13:07:22.552791: vim start =======================
2019-07-02T13:07:22.552791: recvJSONMsg: [4] ["callback",4,[""]]
2019-07-02T13:07:22.552791: vim end =======================
2019-07-02T13:07:22.552824: run: waiting to read a JSON message
2019-07-02T13:07:22.552845: vim start =======================
2019-07-02T13:07:22.552845: sendJSONMsg: [0,[5,"ex","augroup END"]]
2019-07-02T13:07:22.552845: vim end =======================
2019-07-02T13:07:22.553028: vim start =======================
2019-07-02T13:07:22.553028: recvJSONMsg: [5] ["callback",5,[""]]
2019-07-02T13:07:22.553028: vim end =======================
2019-07-02T13:07:22.553051: run: waiting to read a JSON message
2019-07-02T13:07:22.553096: vim start =======================
2019-07-02T13:07:22.553096: sendJSONMsg: [0,[6,"function","GOVIMHello",[]]]
2019-07-02T13:07:22.553096: vim end =======================
2019-07-02T13:07:22.553312: vim start =======================
2019-07-02T13:07:22.553312: recvJSONMsg: [6] ["callback",6,[""]]
2019-07-02T13:07:22.553312: vim end =======================
2019-07-02T13:07:22.553339: run: waiting to read a JSON message
2019-07-02T13:07:22.553421: vim start =======================
2019-07-02T13:07:22.553421: sendJSONMsg: [0,[7,"command","GOVIMHello",{}]]
2019-07-02T13:07:22.553421: vim end =======================
2019-07-02T13:07:22.553648: vim start =======================
2019-07-02T13:07:22.553648: recvJSONMsg: [7] ["callback",7,[""]]
2019-07-02T13:07:22.553648: vim end =======================
2019-07-02T13:07:22.553971: run: waiting to read a JSON message
2019-07-02T13:07:22.553999: vim start =======================
2019-07-02T13:07:22.553999: sendJSONMsg: [0,[8,"function","GOVIM_internal_BalloonExpr",[]]]
2019-07-02T13:07:22.553999: vim end =======================
2019-07-02T13:07:22.554247: vim start =======================
2019-07-02T13:07:22.554247: recvJSONMsg: [8] ["callback",8,[""]]
2019-07-02T13:07:22.554247: vim end =======================
2019-07-02T13:07:22.554272: run: waiting to read a JSON message
2019-07-02T13:07:22.554408: vim start =======================
2019-07-02T13:07:22.554408: sendJSONMsg: [0,[9,"autocmd","autocommand:0"," 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\"}"]]]
2019-07-02T13:07:22.554408: vim end =======================
2019-07-02T13:07:22.554632: vim start =======================
2019-07-02T13:07:22.554632: recvJSONMsg: [9] ["callback",9,[""]]
2019-07-02T13:07:22.554632: vim end =======================
2019-07-02T13:07:22.554655: run: waiting to read a JSON message
2019-07-02T13:07:22.554705: vim start =======================
2019-07-02T13:07:22.554705: sendJSONMsg: [0,[10,"autocmd","autocommand:1"," govim BufWritePre *.go",["eval(expand('\u003cabuf\u003e'))"]]]
2019-07-02T13:07:22.554705: vim end =======================
2019-07-02T13:07:22.554901: vim start =======================
2019-07-02T13:07:22.554901: recvJSONMsg: [10] ["callback",10,[""]]
2019-07-02T13:07:22.554901: vim end =======================
2019-07-02T13:07:22.554926: run: waiting to read a JSON message
2019-07-02T13:07:22.554960: vim start =======================
2019-07-02T13:07:22.554960: sendJSONMsg: [0,[11,"function","GOVIM_internal_Complete",["findarg","base"]]]
2019-07-02T13:07:22.554960: vim end =======================
2019-07-02T13:07:22.555214: vim start =======================
2019-07-02T13:07:22.555214: recvJSONMsg: [11] ["callback",11,[""]]
2019-07-02T13:07:22.555214: vim end =======================
2019-07-02T13:07:22.555238: run: waiting to read a JSON message
2019-07-02T13:07:22.555271: vim start =======================
2019-07-02T13:07:22.555271: sendJSONMsg: [0,[12,"command","GOVIMGoToDef",{"nargs":"-nargs=?"}]]
2019-07-02T13:07:22.555271: vim end =======================
2019-07-02T13:07:22.555634: vim start =======================
2019-07-02T13:07:22.555634: recvJSONMsg: [12] ["callback",12,[""]]
2019-07-02T13:07:22.555634: vim end =======================
2019-07-02T13:07:22.555662: run: waiting to read a JSON message
2019-07-02T13:07:22.555707: vim start =======================
2019-07-02T13:07:22.555707: sendJSONMsg: [0,[13,"command","GOVIMGoToPrevDef",{"count":"-count=1","nargs":"-nargs=?"}]]
2019-07-02T13:07:22.555707: vim end =======================
2019-07-02T13:07:22.556024: vim start =======================
2019-07-02T13:07:22.556024: recvJSONMsg: [13] ["callback",13,[""]]
2019-07-02T13:07:22.556024: vim end =======================
2019-07-02T13:07:22.556053: run: waiting to read a JSON message
2019-07-02T13:07:22.556075: vim start =======================
2019-07-02T13:07:22.556075: sendJSONMsg: [0,[14,"function","GOVIMHover",[]]]
2019-07-02T13:07:22.556075: vim end =======================
2019-07-02T13:07:22.556348: vim start =======================
2019-07-02T13:07:22.556348: recvJSONMsg: [14] ["callback",14,[""]]
2019-07-02T13:07:22.556348: vim end =======================
2019-07-02T13:07:22.556374: run: waiting to read a JSON message
2019-07-02T13:07:22.556412: vim start =======================
2019-07-02T13:07:22.556412: sendJSONMsg: [0,[15,"autocmd","autocommand:2"," govim BufDelete *.go",["eval(expand('\u003cabuf\u003e'))"]]]
2019-07-02T13:07:22.556412: vim end =======================
2019-07-02T13:07:22.556645: vim start =======================
2019-07-02T13:07:22.556645: recvJSONMsg: [15] ["callback",15,[""]]
2019-07-02T13:07:22.556645: vim end =======================
2019-07-02T13:07:22.556665: run: waiting to read a JSON message
2019-07-02T13:07:22.556696: vim start =======================
2019-07-02T13:07:22.556696: sendJSONMsg: [0,[16,"command","GOVIMGoFmt",{}]]
2019-07-02T13:07:22.556696: vim end =======================
2019-07-02T13:07:22.556959: vim start =======================
2019-07-02T13:07:22.556959: recvJSONMsg: [16] ["callback",16,[""]]
2019-07-02T13:07:22.556959: vim end =======================
2019-07-02T13:07:22.556982: run: waiting to read a JSON message
2019-07-02T13:07:22.557017: vim start =======================
2019-07-02T13:07:22.557017: sendJSONMsg: [0,[17,"command","GOVIMGoImports",{}]]
2019-07-02T13:07:22.557017: vim end =======================
2019-07-02T13:07:22.557243: vim start =======================
2019-07-02T13:07:22.557243: recvJSONMsg: [17] ["callback",17,[""]]
2019-07-02T13:07:22.557243: vim end =======================
2019-07-02T13:07:22.557304: run: waiting to read a JSON message
2019-07-02T13:07:22.557334: vim start =======================
2019-07-02T13:07:22.557334: sendJSONMsg: [0,[18,"command","GOVIMQuickfixDiagnostics",{}]]
2019-07-02T13:07:22.557334: vim end =======================
2019-07-02T13:07:22.557630: vim start =======================
2019-07-02T13:07:22.557630: recvJSONMsg: [18] ["callback",18,[""]]
2019-07-02T13:07:22.557630: vim end =======================
2019-07-02T13:07:22.557659: run: waiting to read a JSON message
2019-07-02T13:07:22.557697: vim start =======================
2019-07-02T13:07:22.557697: sendJSONMsg: [0,[19,"function","GOVIM_internal_BufChanged",["bufnr","start","end","added","changes"]]]
2019-07-02T13:07:22.557697: vim end =======================
2019-07-02T13:07:22.558064: vim start =======================
2019-07-02T13:07:22.558064: recvJSONMsg: [19] ["callback",19,[""]]
2019-07-02T13:07:22.558064: vim end =======================
2019-07-02T13:07:22.558091: run: waiting to read a JSON message
2019-07-02T13:07:22.558116: vim start =======================
2019-07-02T13:07:22.558116: sendJSONMsg: [0,[20,"function","GOVIM_internal_SetConfig",["config"]]]
2019-07-02T13:07:22.558116: vim end =======================
2019-07-02T13:07:22.558330: vim start =======================
2019-07-02T13:07:22.558330: recvJSONMsg: [20] ["callback",20,[""]]
2019-07-02T13:07:22.558330: vim end =======================
2019-07-02T13:07:22.558385: run: waiting to read a JSON message
2019-07-02T13:07:22.558407: vim start =======================
2019-07-02T13:07:22.558407: sendJSONMsg: [0,[21,"ex","call govim#config#Set(\"_internal_Func\", function(\"GOVIM_internal_SetConfig\"))"]]
2019-07-02T13:07:22.558407: vim end =======================
2019-07-02T13:07:22.560043: vim start =======================
2019-07-02T13:07:22.560043: recvJSONMsg: [21] ["function","function:GOVIM_internal_SetConfig",[{"FormatOnSave":"goimports"}]]
2019-07-02T13:07:22.560043: vim end =======================
2019-07-02T13:07:22.560129: run: waiting to read a JSON message
2019-07-02T13:07:22.561151: vim start =======================
2019-07-02T13:07:22.561151: sendJSONMsg: [21,["",null]]
2019-07-02T13:07:22.561151: vim end =======================
2019-07-02T13:07:22.561398: vim start =======================
2019-07-02T13:07:22.561398: recvJSONMsg: [22] ["callback",21,[""]]
2019-07-02T13:07:22.561398: vim end =======================
2019-07-02T13:07:22.561434: run: waiting to read a JSON message
2019-07-02T13:07:22.561492: vim start =======================
2019-07-02T13:07:22.561492: sendJSONMsg: [0,[22,"function","GOVIM_internal_SetUserBusy",["isBusy"]]]
2019-07-02T13:07:22.561492: vim end =======================
2019-07-02T13:07:22.561754: vim start =======================
2019-07-02T13:07:22.561754: recvJSONMsg: [23] ["callback",22,[""]]
2019-07-02T13:07:22.561754: vim end =======================
2019-07-02T13:07:22.561794: run: waiting to read a JSON message
2019-07-02T13:07:22.561845: vim start =======================
2019-07-02T13:07:22.561845: sendJSONMsg: [0,[23,"command","GOVIMReferences",{}]]
2019-07-02T13:07:22.561845: vim end =======================
2019-07-02T13:07:22.562130: vim start =======================
2019-07-02T13:07:22.562130: recvJSONMsg: [24] ["callback",23,[""]]
2019-07-02T13:07:22.562130: vim end =======================
2019-07-02T13:07:22.562182: run: waiting to read a JSON message
2019-07-02T13:07:22.562218: vim start =======================
2019-07-02T13:07:22.562218: sendJSONMsg: [0,[24,"expr","has(\"gui_running\")"]]
2019-07-02T13:07:22.562218: vim end =======================
2019-07-02T13:07:22.562478: vim start =======================
2019-07-02T13:07:22.562478: recvJSONMsg: [25] ["callback",24,["",0]]
2019-07-02T13:07:22.562478: vim end =======================
2019-07-02T13:07:22.562620: run: waiting to read a JSON message
2019-07-02T13:07:22.563087: gopls log file: /var/folders/0z/6rjjmv912_l4ttjgwcv1yg600000gn/T/gopls_log_20190702_1307_22_597425726
2019-07-02T13:07:22.563115: vim start =======================
2019-07-02T13:07:22.563115: sendJSONMsg: [0,[25,"ex","let s:gopls_logfile=\"/var/folders/0z/6rjjmv912_l4ttjgwcv1yg600000gn/T/gopls_log_20190702_1307_22_597425726\""]]
2019-07-02T13:07:22.563115: vim end =======================
2019-07-02T13:07:22.563340: vim start =======================
2019-07-02T13:07:22.563340: recvJSONMsg: [26] ["callback",25,[""]]
2019-07-02T13:07:22.563340: vim end =======================
2019-07-02T13:07:22.563371: run: waiting to read a JSON message
2019-07-02T13:07:22.565341: vim start =======================
2019-07-02T13:07:22.565341: sendJSONMsg: [0,[26,"call","getcwd",-1]]
2019-07-02T13:07:22.565341: vim end =======================
2019-07-02T13:07:22.566045: vim start =======================
2019-07-02T13:07:22.566045: recvJSONMsg: [27] ["callback",26,["","/Users/gbrautigam/goprojects/drone-demo"]]
2019-07-02T13:07:22.566045: vim end =======================
2019-07-02T13:07:22.566096: run: waiting to read a JSON message
2019-07-02T13:07:22.570724: gopls server start =======================
2019-07-02T13:07:22.570724: gopls.Initialize() call; params:
2019-07-02T13:07:22.570724: &protocol.InitializeParams{
2019-07-02T13:07:22.570724: ProcessID: 0,
2019-07-02T13:07:22.570724: RootPath: "",
2019-07-02T13:07:22.570724: RootURI: "file:///Users/gbrautigam/goprojects/drone-demo",
2019-07-02T13:07:22.570724: Capabilities: protocol.ClientCapabilities{
2019-07-02T13:07:22.570724: Workspace: struct { ApplyEdit bool "json:\"applyEdit,omitempty\""; WorkspaceEdit struct { DocumentChanges bool "json:\"documentChanges,omitempty\""; ResourceOperations []protocol.ResourceOperationKind "json:\"resourceOperations,omitempty\""; FailureHandling protocol.FailureHandlingKind "json:\"failureHandling,omitempty\"" } "json:\"workspaceEdit,omitempty\""; DidChangeConfiguration struct { DynamicRegistration bool "json:\"dynamicRegistration,omitempty\"" } "json:\"didChangeConfiguration,omitempty\""; DidChangeWatchedFiles struct { DynamicRegistration bool "json:\"dynamicRegistration,omitempty\"" } "json:\"didChangeWatchedFiles,omitempty\""; Symbol struct { DynamicRegistration bool "json:\"dynamicRegistration,omitempty\""; SymbolKind struct { ValueSet []protocol.SymbolKind "json:\"valueSet,omitempty\"" } "json:\"symbolKind,omitempty\"" } "json:\"symbol,omitempty\""; ExecuteCommand struct { DynamicRegistration bool "json:\"dynamicRegistration,omitempty\"" } "json:\"executeCommand,omitempty\""; WorkspaceFolders bool "json:\"workspaceFolders,omitempty\""; Configuration bool "json:\"configuration,omitempty\"" }{
2019-07-02T13:07:22.570724: ApplyEdit: false,
2019-07-02T13:07:22.570724: WorkspaceEdit: struct { DocumentChanges bool "json:\"documentChanges,omitempty\""; ResourceOperations []protocol.ResourceOperationKind "json:\"resourceOperations,omitempty\""; FailureHandling protocol.FailureHandlingKind "json:\"failureHandling,omitempty\"" }{},
2019-07-02T13:07:22.570724: DidChangeConfiguration: struct { DynamicRegistration bool "json:\"dynamicRegistration,omitempty\"" }{DynamicRegistration:true},
2019-07-02T13:07:22.570724: DidChangeWatchedFiles: struct { DynamicRegistration bool "json:\"dynamicRegistration,omitempty\"" }{},
2019-07-02T13:07:22.570724: Symbol: struct { DynamicRegistration bool "json:\"dynamicRegistration,omitempty\""; SymbolKind struct { ValueSet []protocol.SymbolKind "json:\"valueSet,omitempty\"" } "json:\"symbolKind,omitempty\"" }{},
2019-07-02T13:07:22.570724: ExecuteCommand: struct { DynamicRegistration bool "json:\"dynamicRegistration,omitempty\"" }{},
2019-07-02T13:07:22.570724: WorkspaceFolders: false,
2019-07-02T13:07:22.570724: Configuration: true,
2019-07-02T13:07:22.570724: },
2019-07-02T13:07:22.570724: TextDocument: struct { Synchronization struct { DynamicRegistration bool "json:\"dynamicRegistration,omitempty\""; WillSave bool "json:\"willSave,omitempty\""; WillSaveWaitUntil bool "json:\"willSaveWaitUntil,omitempty\""; DidSave bool "json:\"didSave,omitempty\"" } "json:\"synchronization,omitempty\""; Completion struct { DynamicRegistration bool "json:\"dynamicRegistration,omitempty\""; CompletionItem struct { SnippetSupport bool "json:\"snippetSupport,omitempty\""; CommitCharactersSupport bool "json:\"commitCharactersSupport,omitempty\""; DocumentationFormat []protocol.MarkupKind "json:\"documentationFormat,omitempty\""; DeprecatedSupport bool "json:\"deprecatedSupport,omitempty\""; PreselectSupport bool "json:\"preselectSupport,omitempty\"" } "json:\"completionItem,omitempty\""; CompletionItemKind struct { ValueSet []protocol.CompletionItemKind "json:\"valueSet,omitempty\"" } "json:\"completionItemKind,omitempty\""; ContextSupport bool "json:\"contextSupport,omitempty\"" } "json:\"completion,omitempty\""; Hover struct { DynamicRegistration bool "json:\"dynamicRegistration,omitempty\""; ContentFormat []protocol.MarkupKind "json:\"contentFormat,omitempty\"" } "json:\"hover,omitempty\""; SignatureHelp struct { DynamicRegistration bool "json:\"dynamicRegistration,omitempty\""; SignatureInformation struct { DocumentationFormat []protocol.MarkupKind "json:\"documentationFormat,omitempty\""; ParameterInformation struct { LabelOffsetSupport bool "json:\"labelOffsetSupport,omitempty\"" } "json:\"parameterInformation,omitempty\"" } "json:\"signatureInformation,omitempty\"" } "json:\"signatureHelp,omitempty\""; References struct { DynamicRegistration bool "json:\"dynamicRegistration,omitempty\"" } "json:\"references,omitempty\""; DocumentHighlight struct { DynamicRegistration bool "json:\"dynamicRegistration,omitempty\"" } "json:\"documentHighlight,omitempty\""; DocumentSymbol struct { DynamicRegistration bool "json:\"dynamicRegistration,omitempty\""; SymbolKind struct { ValueSet []protocol.SymbolKind "json:\"valueSet,omitempty\"" } "json:\"symbolKind,omitempty\""; HierarchicalDocumentSymbolSupport bool "json:\"hierarchicalDocumentSymbolSupport,omitempty\"" } "json:\"documentSymbol,omitempty\""; Formatting struct { DynamicRegistration bool "json:\"dynamicRegistration,omitempty\"" } "json:\"formatting,omitempty\""; RangeFormatting struct { DynamicRegistration bool "json:\"dynamicRegistration,omitempty\"" } "json:\"rangeFormatting,omitempty\""; OnTypeFormatting struct { DynamicRegistration bool "json:\"dynamicRegistration,omitempty\"" } "json:\"onTypeFormatting,omitempty\""; Definition struct { DynamicRegistration bool "json:\"dynamicRegistration,omitempty\""; LinkSupport bool "json:\"linkSupport,omitempty\"" } "json:\"definition,omitempty\""; CodeAction struct { DynamicRegistration bool "json:\"dynamicRegistration,omitempty\""; CodeActionLiteralSupport struct { CodeActionKind struct { ValueSet []protocol.CodeActionKind "json:\"valueSet\"" } "json:\"codeActionKind\"" } "json:\"codeActionLiteralSupport,omitempty\"" } "json:\"codeAction,omitempty\""; CodeLens struct { DynamicRegistration bool "json:\"dynamicRegistration,omitempty\"" } "json:\"codeLens,omitempty\""; DocumentLink struct { DynamicRegistration bool "json:\"dynamicRegistration,omitempty\"" } "json:\"documentLink,omitempty\""; Rename struct { DynamicRegistration bool "json:\"dynamicRegistration,omitempty\""; PrepareSupport bool "json:\"prepareSupport,omitempty\"" } "json:\"rename,omitempty\""; PublishDiagnostics struct { RelatedInformation bool "json:\"relatedInformation,omitempty\""; TagSupport bool "json:\"tagSupport,omitempty\"" } "json:\"publishDiagnostics,omitempty\""; Implementation struct { DynamicRegistration bool "json:\"dynamicRegistration,omitempty\""; LinkSupport bool "json:\"linkSupport,omitempty\"" } "json:\"implementation,omitempty\""; TypeDefinition struct { DynamicRegistration bool "json:\"dynamicRegistration,omitempty\""; LinkSupport bool "json:\"linkSupport,omitempty\"" } "json:\"typeDefinition,omitempty\""; ColorProvider struct { DynamicRegistration bool "json:\"dynamicRegistration,omitempty\"" } "json:\"colorProvider,omitempty\""; FoldingRange struct { DynamicRegistration bool "json:\"dynamicRegistration,omitempty\""; RangeLimit float64 "json:\"rangeLimit,omitempty\""; LineFoldingOnly bool "json:\"lineFoldingOnly,omitempty\"" } "json:\"foldingRange,omitempty\""; Declaration struct { DynamicRegistration bool "json:\"dynamicRegistration,omitempty\""; LinkSupport bool "json:\"linkSupport,omitempty\"" } "json:\"declaration,omitempty\"" }{
2019-07-02T13:07:22.570724: Synchronization: struct { DynamicRegistration bool "json:\"dynamicRegistration,omitempty\""; WillSave bool "json:\"willSave,omitempty\""; WillSaveWaitUntil bool "json:\"willSaveWaitUntil,omitempty\""; DidSave bool "json:\"didSave,omitempty\"" }{},
2019-07-02T13:07:22.570724: Completion: struct { DynamicRegistration bool "json:\"dynamicRegistration,omitempty\""; CompletionItem struct { SnippetSupport bool "json:\"snippetSupport,omitempty\""; CommitCharactersSupport bool "json:\"commitCharactersSupport,omitempty\""; DocumentationFormat []protocol.MarkupKind "json:\"documentationFormat,omitempty\""; DeprecatedSupport bool "json:\"deprecatedSupport,omitempty\""; PreselectSupport bool "json:\"preselectSupport,omitempty\"" } "json:\"completionItem,omitempty\""; CompletionItemKind struct { ValueSet []protocol.CompletionItemKind "json:\"valueSet,omitempty\"" } "json:\"completionItemKind,omitempty\""; ContextSupport bool "json:\"contextSupport,omitempty\"" }{},
2019-07-02T13:07:22.570724: Hover: struct { DynamicRegistration bool "json:\"dynamicRegistration,omitempty\""; ContentFormat []protocol.MarkupKind "json:\"contentFormat,omitempty\"" }{
2019-07-02T13:07:22.570724: DynamicRegistration: false,
2019-07-02T13:07:22.570724: ContentFormat: {"plaintext"},
2019-07-02T13:07:22.570724: },
2019-07-02T13:07:22.570724: SignatureHelp: struct { DynamicRegistration bool "json:\"dynamicRegistration,omitempty\""; SignatureInformation struct { DocumentationFormat []protocol.MarkupKind "json:\"documentationFormat,omitempty\""; ParameterInformation struct { LabelOffsetSupport bool "json:\"labelOffsetSupport,omitempty\"" } "json:\"parameterInformation,omitempty\"" } "json:\"signatureInformation,omitempty\"" }{},
2019-07-02T13:07:22.570724: References: struct { DynamicRegistration bool "json:\"dynamicRegistration,omitempty\"" }{},
2019-07-02T13:07:22.570724: DocumentHighlight: struct { DynamicRegistration bool "json:\"dynamicRegistration,omitempty\"" }{},
2019-07-02T13:07:22.570724: DocumentSymbol: struct { DynamicRegistration bool "json:\"dynamicRegistration,omitempty\""; SymbolKind struct { ValueSet []protocol.SymbolKind "json:\"valueSet,omitempty\"" } "json:\"symbolKind,omitempty\""; HierarchicalDocumentSymbolSupport bool "json:\"hierarchicalDocumentSymbolSupport,omitempty\"" }{},
2019-07-02T13:07:22.570724: Formatting: struct { DynamicRegistration bool "json:\"dynamicRegistration,omitempty\"" }{},
2019-07-02T13:07:22.570724: RangeFormatting: struct { DynamicRegistration bool "json:\"dynamicRegistration,omitempty\"" }{},
2019-07-02T13:07:22.570724: OnTypeFormatting: struct { DynamicRegistration bool "json:\"dynamicRegistration,omitempty\"" }{},
2019-07-02T13:07:22.570724: Definition: struct { DynamicRegistration bool "json:\"dynamicRegistration,omitempty\""; LinkSupport bool "json:\"linkSupport,omitempty\"" }{},
2019-07-02T13:07:22.570724: CodeAction: struct { DynamicRegistration bool "json:\"dynamicRegistration,omitempty\""; CodeActionLiteralSupport struct { CodeActionKind struct { ValueSet []protocol.CodeActionKind "json:\"valueSet\"" } "json:\"codeActionKind\"" } "json:\"codeActionLiteralSupport,omitempty\"" }{},
2019-07-02T13:07:22.570724: CodeLens: struct { DynamicRegistration bool "json:\"dynamicRegistration,omitempty\"" }{},
2019-07-02T13:07:22.570724: DocumentLink: struct { DynamicRegistration bool "json:\"dynamicRegistration,omitempty\"" }{},
2019-07-02T13:07:22.570724: Rename: struct { DynamicRegistration bool "json:\"dynamicRegistration,omitempty\""; PrepareSupport bool "json:\"prepareSupport,omitempty\"" }{},
2019-07-02T13:07:22.570724: PublishDiagnostics: struct { RelatedInformation bool "json:\"relatedInformation,omitempty\""; TagSupport bool "json:\"tagSupport,omitempty\"" }{},
2019-07-02T13:07:22.570724: Implementation: struct { DynamicRegistration bool "json:\"dynamicRegistration,omitempty\""; LinkSupport bool "json:\"linkSupport,omitempty\"" }{},
2019-07-02T13:07:22.570724: TypeDefinition: struct { DynamicRegistration bool "json:\"dynamicRegistration,omitempty\""; LinkSupport bool "json:\"linkSupport,omitempty\"" }{},
2019-07-02T13:07:22.570724: ColorProvider: struct { DynamicRegistration bool "json:\"dynamicRegistration,omitempty\"" }{},
2019-07-02T13:07:22.570724: FoldingRange: struct { DynamicRegistration bool "json:\"dynamicRegistration,omitempty\""; RangeLimit float64 "json:\"rangeLimit,omitempty\""; LineFoldingOnly bool "json:\"lineFoldingOnly,omitempty\"" }{},
2019-07-02T13:07:22.570724: Declaration: struct { DynamicRegistration bool "json:\"dynamicRegistration,omitempty\""; LinkSupport bool "json:\"linkSupport,omitempty\"" }{},
2019-07-02T13:07:22.570724: },
2019-07-02T13:07:22.570724: Window: protocol.WindowClientCapabilities{},
2019-07-02T13:07:22.570724: Experimental: nil,
2019-07-02T13:07:22.570724: },
2019-07-02T13:07:22.570724: InitializationOptions: map[string]interface {}{
2019-07-02T13:07:22.570724: "incrementalSync": bool(true),
2019-07-02T13:07:22.570724: "noDocsOnHover": bool(true),
2019-07-02T13:07:22.570724: },
2019-07-02T13:07:22.570724: Trace: "",
2019-07-02T13:07:22.570724: WorkspaceFolders: nil,
2019-07-02T13:07:22.570724: }
2019-07-02T13:07:22.570724: gopls server end =======================
2019-07-02T13:07:22.755470: gopls server start =======================
2019-07-02T13:07:22.755470: gopls.Initialize() return; err: <nil>; res:
2019-07-02T13:07:22.755470: &protocol.InitializeResult{
2019-07-02T13:07:22.755470: Capabilities: protocol.ServerCapabilities{
2019-07-02T13:07:22.755470: TextDocumentSync: map[string]interface {}{
2019-07-02T13:07:22.755470: "openClose": bool(true),
2019-07-02T13:07:22.755470: "change": float64(2),
2019-07-02T13:07:22.755470: "save": map[string]interface {}{
2019-07-02T13:07:22.755470: },
2019-07-02T13:07:22.755470: },
2019-07-02T13:07:22.755470: HoverProvider: true,
2019-07-02T13:07:22.755470: CompletionProvider: &protocol.CompletionOptions{
2019-07-02T13:07:22.755470: TriggerCharacters: {"."},
2019-07-02T13:07:22.755470: AllCommitCharacters: nil,
2019-07-02T13:07:22.755470: ResolveProvider: false,
2019-07-02T13:07:22.755470: },
2019-07-02T13:07:22.755470: SignatureHelpProvider: &protocol.SignatureHelpOptions{
2019-07-02T13:07:22.755470: TriggerCharacters: {"(", ","},
2019-07-02T13:07:22.755470: },
2019-07-02T13:07:22.755470: DefinitionProvider: true,
2019-07-02T13:07:22.755470: ReferencesProvider: true,
2019-07-02T13:07:22.755470: DocumentHighlightProvider: true,
2019-07-02T13:07:22.755470: DocumentSymbolProvider: true,
2019-07-02T13:07:22.755470: WorkspaceSymbolProvider: false,
2019-07-02T13:07:22.755470: CodeActionProvider: true,
2019-07-02T13:07:22.755470: CodeLensProvider: (*protocol.CodeLensOptions)(nil),
2019-07-02T13:07:22.755470: DocumentFormattingProvider: true,
2019-07-02T13:07:22.755470: DocumentRangeFormattingProvider: false,
2019-07-02T13:07:22.755470: DocumentOnTypeFormattingProvider: (*struct { FirstTriggerCharacter string "json:\"firstTriggerCharacter\""; MoreTriggerCharacter []string "json:\"moreTriggerCharacter,omitempty\"" })(nil),
2019-07-02T13:07:22.755470: RenameProvider: bool(true),
2019-07-02T13:07:22.755470: DocumentLinkProvider: &protocol.DocumentLinkOptions{},
2019-07-02T13:07:22.755470: ExecuteCommandProvider: (*protocol.ExecuteCommandOptions)(nil),
2019-07-02T13:07:22.755470: Experimental: nil,
2019-07-02T13:07:22.755470: ImplementationProvider: false,
2019-07-02T13:07:22.755470: TypeDefinitionProvider: true,
2019-07-02T13:07:22.755470: Workspace: &struct { WorkspaceFolders *struct { Supported bool "json:\"supported,omitempty\""; ChangeNotifications string "json:\"changeNotifications,omitempty\"" } "json:\"workspaceFolders,omitempty\"" }{
2019-07-02T13:07:22.755470: WorkspaceFolders: &struct { Supported bool "json:\"supported,omitempty\""; ChangeNotifications string "json:\"changeNotifications,omitempty\"" }{Supported:true, ChangeNotifications:"workspace/didChangeWorkspaceFolders"},
2019-07-02T13:07:22.755470: },
2019-07-02T13:07:22.755470: ColorProvider: false,
2019-07-02T13:07:22.755470: FoldingRangeProvider: false,
2019-07-02T13:07:22.755470: DeclarationProvider: false,
2019-07-02T13:07:22.755470: },
2019-07-02T13:07:22.755470: Custom: {},
2019-07-02T13:07:22.755470: }
2019-07-02T13:07:22.755470: gopls server end =======================
2019-07-02T13:07:22.755532: gopls server start =======================
2019-07-02T13:07:22.755532: gopls.Initialized() call; params:
2019-07-02T13:07:22.755532: &protocol.InitializedParams{}
2019-07-02T13:07:22.755532: gopls server end =======================
2019-07-02T13:07:22.755579: gopls server start =======================
2019-07-02T13:07:22.755579: gopls.Initialized() return; err: <nil>
2019-07-02T13:07:22.755579: gopls server end =======================
2019-07-02T13:07:22.756933: gopls client start =======================
2019-07-02T13:07:22.756933: RegisterCapability: &protocol.RegistrationParams{
2019-07-02T13:07:22.756933: Registrations: {
2019-07-02T13:07:22.756933: {
2019-07-02T13:07:22.756933: ID: "workspace/didChangeConfiguration",
2019-07-02T13:07:22.756933: Method: "workspace/didChangeConfiguration",
2019-07-02T13:07:22.756933: RegisterOptions: nil,
2019-07-02T13:07:22.756933: },
2019-07-02T13:07:22.756933: {
2019-07-02T13:07:22.756933: ID: "workspace/didChangeWorkspaceFolders",
2019-07-02T13:07:22.756933: Method: "workspace/didChangeWorkspaceFolders",
2019-07-02T13:07:22.756933: RegisterOptions: nil,
2019-07-02T13:07:22.756933: },
2019-07-02T13:07:22.756933: },
2019-07-02T13:07:22.756933: }
2019-07-02T13:07:22.756933: gopls client end =======================
2019-07-02T13:07:22.758140: gopls client start =======================
2019-07-02T13:07:22.758140: Configuration: &protocol.ConfigurationParams{
2019-07-02T13:07:22.758140: Items: {
2019-07-02T13:07:22.758140: {ScopeURI:"file:///Users/gbrautigam/goprojects/drone-demo", Section:"gopls"},
2019-07-02T13:07:22.758140: },
2019-07-02T13:07:22.758140: }
2019-07-02T13:07:22.758140: gopls client end =======================
2019-07-02T13:07:22.780129: vim start =======================
2019-07-02T13:07:22.780129: sendJSONMsg: [0,[27,"initcomplete"]]
2019-07-02T13:07:22.780129: vim end =======================
2019-07-02T13:07:22.789096: vim start =======================
2019-07-02T13:07:22.789096: recvJSONMsg: [28] ["callback",27,[""]]
2019-07-02T13:07:22.789096: vim end =======================
2019-07-02T13:07:22.789308: run: waiting to read a JSON message
2019-07-02T13:07:22.930800: gopls client start =======================
2019-07-02T13:07:22.930800: LogMessage callback: &protocol.LogMessageParams{Type:3, Message:"Build info\n----------\ngolang.org/x/tools/gopls v0.1.1\n golang.org/x/tools/gopls@v0.1.2-0.20190628222527-fb37f6ba8261 h1:3A2gqKo+Ks0waBO08n+uxOsSGD0r1bsVmYOL1ljVrfk=\n golang.org/x/sync@v0.0.0-20190423024810-112230192c58 h1:8gQV6CLnAEikrhgkHFbMAEhagSSnXWGV915qUMm9mrU=\n golang.org/x/tools@v0.0.0-20190628222527-fb37f6ba8261 h1:KP5slYyJf3GFQbPLTWjQ0TCqBQ73hYpqtCElF+iSruQ=\n\nGo info\n-------\ngo version go1.12.6 darwin/amd64\n\nGOARCH=\"amd64\"\nGOBIN=\"\"\nGOCACHE=\"/Users/gbrautigam/Library/Caches/go-build\"\nGOEXE=\"\"\nGOFLAGS=\"\"\nGOHOSTARCH=\"amd64\"\nGOHOSTOS=\"darwin\"\nGOOS=\"darwin\"\nGOPATH=\"/Users/gbrautigam/gohome\"\nGOPROXY=\"\"\nGORACE=\"\"\nGOROOT=\"/usr/local/Cellar/go/1.12.6/libexec\"\nGOTMPDIR=\"\"\nGOTOOLDIR=\"/usr/local/Cellar/go/1.12.6/libexec/pkg/tool/darwin_amd64\"\nGCCGO=\"gccgo\"\nCC=\"clang\"\nCXX=\"clang++\"\nCGO_ENABLED=\"1\"\nGOMOD=\"/Users/gbrautigam/goprojects/drone-demo/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 -fno-caret-diagnostics -Qunused-arguments -fmessage-length=0 -fdebug-prefix-map=/var/folders/0z/6rjjmv912_l4ttjgwcv1yg600000gn/T/go-build571942527=/tmp/go-build -gno-record-gcc-switches -fno-common\"\n"}
2019-07-02T13:07:22.930800: gopls client end =======================
2019-07-02T13:07:28.643221: vim start =======================
2019-07-02T13:07:28.643221: recvJSONMsg: [29] ["function","autocommand:0",[{"Num":1,"Name":"/Users/gbrautigam/goprojects/drone-demo/demo6_voice/main.go","Contents":"package main\n\nimport (\n\t\"time\"\n\n\t\"gobot.io/x/gobot\"\n\t\"gobot.io/x/gobot/platforms/dji/tello\"\n)\n\nfunc main() {\n\tdrone := tello.NewDriver(\"8888\")\n\n\twork := func() {\n\t\tdrone.TakeOff()\n\n\t\tgobot.After(8*time.Second, func() {\n\t\t\tdrone.FrontFlip()\n\t\t})\n\n\t\tgobot.After(13*time.Second, func() {\n\t\t\tdrone.BackFlip()\n\t\t})\n\n\t\tgobot.After(18*time.Second, func() {\n\t\t\tdrone.Land()\n\t\t})\n\t}\n\n\trobot := gobot.NewRobot(\"tello\",\n\t\t[]gobot.Connection{},\n\t\t[]gobot.Device{drone},\n\t\twork,\n\t)\n\n\trobot.Start()\n}\n"}]]
2019-07-02T13:07:28.643221: vim end =======================
2019-07-02T13:07:28.643303: run: waiting to read a JSON message
2019-07-02T13:07:28.643458: vim start =======================
2019-07-02T13:07:28.643458: sendJSONMsg: [0,[28,"call","listener_add","GOVIM_internal_EnrichDelta",1]]
2019-07-02T13:07:28.643458: vim end =======================
2019-07-02T13:07:28.643778: vim start =======================
2019-07-02T13:07:28.643778: recvJSONMsg: [30] ["callback",28,["",1]]
2019-07-02T13:07:28.643778: vim end =======================
2019-07-02T13:07:28.643812: run: waiting to read a JSON message
2019-07-02T13:07:28.644208: gopls server start =======================
2019-07-02T13:07:28.644208: gopls.DidOpen() call; params:
2019-07-02T13:07:28.644208: &protocol.DidOpenTextDocumentParams{
2019-07-02T13:07:28.644208: TextDocument: protocol.TextDocumentItem{URI:"file:///Users/gbrautigam/goprojects/drone-demo/demo6_voice/main.go", LanguageID:"go", Version:0, Text:"package main\n\nimport (\n\t\"time\"\n\n\t\"gobot.io/x/gobot\"\n\t\"gobot.io/x/gobot/platforms/dji/tello\"\n)\n\nfunc main() {\n\tdrone := tello.NewDriver(\"8888\")\n\n\twork := func() {\n\t\tdrone.TakeOff()\n\n\t\tgobot.After(8*time.Second, func() {\n\t\t\tdrone.FrontFlip()\n\t\t})\n\n\t\tgobot.After(13*time.Second, func() {\n\t\t\tdrone.BackFlip()\n\t\t})\n\n\t\tgobot.After(18*time.Second, func() {\n\t\t\tdrone.Land()\n\t\t})\n\t}\n\n\trobot := gobot.NewRobot(\"tello\",\n\t\t[]gobot.Connection{},\n\t\t[]gobot.Device{drone},\n\t\twork,\n\t)\n\n\trobot.Start()\n}\n"},
2019-07-02T13:07:28.644208: }
2019-07-02T13:07:28.644208: gopls server end =======================
2019-07-02T13:07:28.644341: gopls server start =======================
2019-07-02T13:07:28.644341: gopls.DidOpen() return; err: <nil>
2019-07-02T13:07:28.644341: gopls server end =======================
2019-07-02T13:07:28.644366: vim start =======================
2019-07-02T13:07:28.644366: sendJSONMsg: [29,["",null]]
2019-07-02T13:07:28.644366: vim end =======================
2019-07-02T13:07:28.710840: vim start =======================
2019-07-02T13:07:28.710840: recvJSONMsg: [31] ["function","function:GOVIM_internal_SetUserBusy",[1]]
2019-07-02T13:07:28.710840: vim end =======================
2019-07-02T13:07:28.710963: run: waiting to read a JSON message
2019-07-02T13:07:28.711238: vim start =======================
2019-07-02T13:07:28.711238: sendJSONMsg: [31,["",null]]
2019-07-02T13:07:28.711238: vim end =======================
2019-07-02T13:07:29.607224: gopls client start =======================
2019-07-02T13:07:29.607224: PublishDiagnostics callback: &protocol.PublishDiagnosticsParams{
2019-07-02T13:07:29.607224: URI: "file:///Users/gbrautigam/goprojects/drone-demo/demo6_voice/main.go",
2019-07-02T13:07:29.607224: Version: 0,
2019-07-02T13:07:29.607224: Diagnostics: {
2019-07-02T13:07:29.607224: },
2019-07-02T13:07:29.607224: }
2019-07-02T13:07:29.607224: gopls client end =======================
2019-07-02T13:08:02.798232: vim start =======================
2019-07-02T13:08:02.798232: recvJSONMsg: [32] ["function","function:GOVIM_internal_SetUserBusy",[0]]
2019-07-02T13:08:02.798232: vim end =======================
2019-07-02T13:08:02.803739: run: waiting to read a JSON message
2019-07-02T13:08:02.804372: vim start =======================
2019-07-02T13:08:02.804372: sendJSONMsg: [32,["",null]]
2019-07-02T13:08:02.804372: vim end =======================
How did you install govim
?
Plug
What did you do?
Start up vim Open a Go file
What did you expect to see?
immediately opening up the file
What did you see instead?
Vim hangs for about 10 seconds or so.
About this issue
- Original URL
- State: closed
- Created 5 years ago
- Comments: 30 (11 by maintainers)
No worries. Yes, it’s likely that ale will conflict with govim in some respects. Can you disable it for go projects (assuming you want to use
govim
)?