vim-php / vim-phpunit

Vim phpunit plugin
MIT License
7 stars 0 forks source link

Ovveride all #1

Open gianarb opened 9 years ago

gianarb commented 9 years ago

Hello, I am trying to use this configuration on my workdir .vimrc file

let g:phpunit_args = "--configuration /cf/code/ZFCommon \" "
let g:phpunit_cmd = "VAGRANT_CWD=/cf/code/Ambrosia/ vagrant ssh -c \" phpunit "

After the first update the g:phpunit_argsworks perfectly! but g:phpunit_cmd is not override, if I load the vimrc

:source .vimrc

All works

Can you verify this problem? Thanks

wdalmut commented 8 years ago

mmm strange

do you have something like this in your main .vimrc?

"allow project .vimrc
set exrc
"enable secure mode
set secure

Can you try to rename your project .vimrc to .exrc and try it again?

I have a similar configuration for docker:

let g:phpunit_cmd = "docker exec -i web_myproject bin/phpunit"
let g:phpunit_args = "--configuration app"
let g:relatedtest_php_src="src/"
let g:relatedtest_php_tests="src/"