-
-
Notifications
You must be signed in to change notification settings - Fork 959
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
langserver-go keeps unexpectedly opening window with debug output #179
Comments
I also got that window while in a working source, but after typing |
The output window will be opened when language server log errors by default. |
There should be Message contains |
@Dbz
The error might caused by the server is not ready to parse signature. |
Is there a way to disable this only for Go and not for other languages like Ruby? |
|
@oblitum just a note on the documentation. JSON doesn't support comments (ridiculous, I know), so if people copy/paste the json configs with comments ( |
@Dbz |
It's mentioned here: https://github.com/neoclide/coc.nvim/wiki/Using-configuration-file. |
@Dbz recommendation for Go, you may use it in parallel to vim-go, because the Go LSP server still doesn't offer many features. |
Yeah, I am using |
refactor(highlight): Deprecating style = string. Use style = table
Describe the bug
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. I do not want this automatically happening.
To Reproduce
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
Desktop (please complete the following information):
Additional context
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
The text was updated successfully, but these errors were encountered: