We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f5251c8 commit 5760065Copy full SHA for 5760065
autoload/rails.vim
@@ -5332,10 +5332,6 @@ function! rails#buffer_setup() abort
5332
call self.setvar('dispatch', dir . dispatch[0])
5333
elseif self.name() =~# '^public'
5334
call self.setvar('dispatch', ':Preview')
5335
- elseif self.type_name('spec', 'cucumber')
5336
- call self.setvar('dispatch', ':Runner')
5337
- elseif self.type_name('test') && !self.app().has_rails5()
5338
5339
elseif self.name() =~# '^\%(app\|config\|db\|lib\|log\|README\|Rakefile\|test\|spec\|features\)'
5340
if !exists('dir')
5341
call self.setvar('dispatch', ':Rails')
0 commit comments