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 c9a73db commit 5e507faCopy full SHA for 5e507fa
autoload/rails.vim
@@ -708,6 +708,8 @@ function! s:readable_calculate_file_type() dict abort
708
let r = "test"
709
elseif f =~ '\<spec/.*_spec\.rb'
710
let r = "spec"
711
+ elseif f =~ '\<spec/support/.*\.rb'
712
+ let r = "spec"
713
elseif f =~ '\<db/migrate\>'
714
let r = "db-migration"
715
elseif f=~ '\<db/schema\.rb$'
0 commit comments