When I open a new file, langserver-go will open up a window in my vim terminal with output after attempting to run my file. It happens because the output window will be opened when language server log errors by default. However, there don't seem to be errors in the log. This was discussed: https://github.com/neoclide/coc.nvim/issues/179
Steps to reproduce the behavior:
Create file touch main.go
open file vim main.go
You will see output below the status line: [coc.nvim] service languageserver.golang started
Start typing package main and a window will be created with debug output
Expected behavior
Nothing will happen as I am typing in a new file
Note:
This also happens randomly when working on files, but it is very consistent when opening a new file. I don't know if it has to do my my directory structure. Here is my directory and path variables:
directory: /Users/dbz/development/go/src/github.com/udemy_channels
$GOPATH: /Users/dbz/development/go
($GOPATH is appended onto the very end of $PATH)
$PATH: /Users/dbz/apache-cassandra-3.11.2/bin:./bin:/Users/dbz/bin:/Users/dbz/.rbenv/bin:/Users/dbz/.rbenv/shims:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin:/Applications/Postgres.app/Contents/Versions/9.4/bin:/usr/local/mysql/bin:/Users/dbz/bin:/Users/dbz/development/go/bin
When I open a new file, langserver-go will open up a window in my vim terminal with output after attempting to run my file. It happens because the output window will be opened when language server log errors by default. However, there don't seem to be errors in the log. This was discussed: https://github.com/neoclide/coc.nvim/issues/179
Steps to reproduce the behavior:
touch main.go
vim main.go
You will see output below the status line:[coc.nvim] service languageserver.golang started
package main
and a window will be created with debug outputExpected behavior Nothing will happen as I am typing in a new file
Note:
This also happens randomly when working on files, but it is very consistent when opening a new file. I don't know if it has to do my my directory structure. Here is my directory and path variables:
directory:
/Users/dbz/development/go/src/github.com/udemy_channels
$GOPATH:/Users/dbz/development/go
($GOPATH is appended onto the very end of $PATH) $PATH:/Users/dbz/apache-cassandra-3.11.2/bin:./bin:/Users/dbz/bin:/Users/dbz/.rbenv/bin:/Users/dbz/.rbenv/shims:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin:/Applications/Postgres.app/Contents/Versions/9.4/bin:/usr/local/mysql/bin:/Users/dbz/bin:/Users/dbz/development/go/bin