You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
What did you do? (required: The issue will be closed when not provided)
Ran "GoTestCompile" and "GoTestFunc" on a test file with that has syntax errors.
What did you expect to happen?
Compilation errors are populated in quickfix menu (which does happen) and no new buffer is created.
What happened instead?
A new buffer is created just containing a "package x" line on the top. This buffer is named according to the file that is under test, but without any relative pathing. Screenshot below
Screenshot after running "GotTestFunc" with a file that contains compilation error. Buffers are listed on the most bottom quickfix window. Current buffer is the one that is created unexpectedly and must be closed every time
The text was updated successfully, but these errors were encountered:
@bhcleek looks like this is also tied to either test.vim or term.vim - can't seem to pin point where the buffer is created but if I remove the go_term_enabled flag, issue goes away.
Think I see what's going on. in term.vim the method s:on_exit wants to jump to the item in the quick fix menu, but I think that's a temporary file created for test compilation.
What did you do? (required: The issue will be closed when not provided)
Ran "GoTestCompile" and "GoTestFunc" on a test file with that has syntax errors.
What did you expect to happen?
Compilation errors are populated in quickfix menu (which does happen) and no new buffer is created.
What happened instead?
A new buffer is created just containing a "package x" line on the top. This buffer is named according to the file that is under test, but without any relative pathing. Screenshot below
Configuration (MUST fill this out):
https://github.com/ldelossa/dotfiles/blob/master/vimrc#L209-L278
vim-go version:
MASTER
vimrc
you used to reproduce (use a minimal vimrc with other plugins disabled; dohttps://github.com/ldelossa/dotfiles/blob/master/vimrc
Vim version (first three lines from
:version
):NVIM v0.3.8
Build type: Release
LuaJIT 2.0.5
Go version (
go version
):go version go1.12.1 darwin/amd64
Go environment
go env
Output:vim-go configuration:
vim-go configuration
Screenshot after running "GotTestFunc" with a file that contains compilation error. Buffers are listed on the most bottom quickfix window. Current buffer is the one that is created unexpectedly and must be closed every time
The text was updated successfully, but these errors were encountered: