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.
2 parents add3463 + a1c334e commit a041070Copy full SHA for a041070
autoload/rails.vim
@@ -780,7 +780,7 @@ function! s:readable_calculate_file_type() dict abort
780
let r = "db-migration"
781
elseif f=~ '\<db/schema\.rb$'
782
let r = "db-schema"
783
- elseif f =~ '\.rake$' || f =~ '\<\%(Rake\|Cap\)file$' || f =~ '\<config/deploy\.rb$'
+ elseif f =~ '\.rake$' || f =~ '\<\%(Rake\|Cap\)file$' || f =~ '\<config/deploy\.rb$' || f =~ '\<config/deploy/.*\.rb$'
784
let r = "task"
785
elseif f =~ '\<log/.*\.log$'
786
let r = "log"
0 commit comments