-
Notifications
You must be signed in to change notification settings - Fork 102
Open
Description
Hi,
I'm trying to use Projectionist with vim-rspec, I already have it working with Dispatch but not with Projectionist.
I have this configuration on my .vimrc:
let g:rspec_command = 'w | Dispatch rspec {spec}'
nnoremap <Leader>t :call RunCurrentSpecFile()<CR>
nnoremap <Leader>s :call RunNearestSpec()<CR>
nnoremap <Leader>l :call RunLastSpec()<CR>
map <leader>t :call RunCurrentSpecFile()<cr>
map <leader>s :call RunNearestSpec()<cr>
map <leader>l :call RunLastSpec()<cr>
map <leader>a :call RunAllSpecs()<cr>And I have this .projections.json file:
{
"spec/*_spec.rb": {
"dispatch": "docker-compose run artisan bundle exec rspec {file}"
}
}For some reason, when why run <leader>s it runs w | Dispatch rspec {spec} and not docker-compose run artisan bundle exec rspec {file}.
I'm wondering it I should ignore vim-rspec or use another command to execute the Projectionist configuration.
Does anybody have this same situation?
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels