Debugging cmdline for gogetdoc
authorSergey Matveev <stargrave@stargrave.org>
Wed, 8 Jan 2020 13:23:21 +0000 (16:23 +0300)
committerSergey Matveev <stargrave@stargrave.org>
Wed, 8 Jan 2020 13:23:21 +0000 (16:23 +0300)
vim/.vim/ftplugin/go/gogetdoc.vim

index c2aa3ac5d9eca631baec0d1207f3ff319a64f9d9..9105258bc3288fad8369abe68cc2007f1e7c8248 100644 (file)
@@ -24,6 +24,7 @@ function! s:GoGetDoc()
     if exists("b:gogetdoc_job") && job_status(b:gogetdoc_job) == "run" | return | endif
     let pos = line2byte(line(".")) + col(".") - 2
     let cmdline = "gogetdoc -pos " . expand("%p") . ":#" . pos
+    echomsg cmdline
     let b:gogetdoc_job = job_start(cmdline, {
         \"in_mode": "nl",
         \"err_io": "null",