Skip to content
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

cmd, jobcontrol: add progress and complete message for nvim #695

Merged
merged 1 commit into from
Jan 28, 2016

Conversation

t-yuki
Copy link
Contributor

@t-yuki t-yuki commented Jan 24, 2016

cmd, jobcontrol: add progress and complete message for nvim.
cmd: fix to work GoTestFunc.

refs #686

@@ -183,14 +184,19 @@ function! go#cmd#Test(bang, compile, ...)
" expand all wildcards(i.e: '%' to the current file name)
let goargs = map(copy(a:000), "expand(v:val)")

" escape all shell arguments before we pass it to test
call extend(args, go#util#Shelllist(goargs, 1))
call extend(args, goargs, 1)
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why is this changed here ?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I guess that a recent change 579dd89 broke go#cmd#GoTestFunc because go#util#Shelllist also escapes "-run" flag.
GoTestFunc passes goargs that contains "-run=TestABC" but go#util#Shelllist escapes that flag.

fatih added a commit that referenced this pull request Jan 28, 2016
cmd, jobcontrol: add progress and complete message for nvim
@fatih fatih merged commit 4c485a2 into fatih:master Jan 28, 2016
@fatih
Copy link
Owner

fatih commented Jan 28, 2016

Thanks @t-yuki 👍

@nhooyr
Copy link
Contributor

nhooyr commented Jan 28, 2016

Is there any way to disable these messages?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants