Skip to content
This repository was archived by the owner on Oct 12, 2022. It is now read-only.

Output window opens on error, but no error in log #341

@Dbz

Description

@Dbz

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:

  1. Create file touch main.go
  2. open file vim main.go
    You will see output below the status line: [coc.nvim] service languageserver.golang started
  3. Start typing package main and a window will be created with debug output

image

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions