Skip to content

Commit a041070

Browse files
committed
Merge pull request tpope#264 from tundrax/master
Recognise multistage deploy recipes as tasks
2 parents add3463 + a1c334e commit a041070

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

autoload/rails.vim

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -780,7 +780,7 @@ function! s:readable_calculate_file_type() dict abort
780780
let r = "db-migration"
781781
elseif f=~ '\<db/schema\.rb$'
782782
let r = "db-schema"
783-
elseif f =~ '\.rake$' || f =~ '\<\%(Rake\|Cap\)file$' || f =~ '\<config/deploy\.rb$'
783+
elseif f =~ '\.rake$' || f =~ '\<\%(Rake\|Cap\)file$' || f =~ '\<config/deploy\.rb$' || f =~ '\<config/deploy/.*\.rb$'
784784
let r = "task"
785785
elseif f =~ '\<log/.*\.log$'
786786
let r = "log"

0 commit comments

Comments
 (0)