-
Notifications
You must be signed in to change notification settings - Fork 90
Output window opens on error, but no error in log #341
Description
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: neoclide/coc.nvim#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