Open hulucc opened 4 years ago
It should be caused by -bar
.
-bar
skips string after " as vim script comment.
:AsyncRun1
and :AsyncRun3
outputs go test -v -run "TestProxy$" ./pkg/proxy
.
but :AsyncRun2 outputs
go test -v -run`.
command! -nargs=* AsyncRun1 echom <q-args>
command! -nargs=* -bar AsyncRun2 echom <q-args>
command! -nargs=* -bang AsyncRun3 echom <q-args>
" Output "go test -v -run "TestProxy$" ./pkg/proxy":
" :AsyncRun1 go test -v -run "TestProxy$" ./pkg/proxy
" :AsyncRun3 go test -v -run "TestProxy$" ./pkg/proxy
" Output "go test -v -run":
" :AsyncRun2 go test -v -run "TestProxy$" ./pkg/proxy
Volt should provide a way to add -bar
or not.
This is off-topic, but Do you have any reason to use strategy = "copy"
?
It is little slow, because copying all files in repositories
but strategy = "symlink"
(default) just creates a directory symlink to repositories.
That is not deprecated option, I just want to know the reason.
Because symlink is extremly slow on every volt build
even nothing changed in the past(i guess its doing full build every time) .
And just now I find the problem has been fixed in new version, so now I'm using symlink
For example if i run
After the volt lazy snippet
Argument the function actually get
And after some trail and error, i find out that removing the
-bang
from snippet could fix the problem. But i don't actually understand what's happending here. please have a check.Volt config
Async Plugin config