Skip to content

Commit aa20597

Browse files
author
Pete Johns
committed
Check for the existence of :Make, not :Makeshift
1 parent e9e2ee6 commit aa20597

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
@@ -1165,7 +1165,7 @@ let g:rails#rake_errorformat = '%D(in\ %f),'
11651165
\.'%m\ [%f:%l]:'
11661166

11671167
function! s:make(bang, args, ...)
1168-
if exists(':Make')
1168+
if exists(':Make') == 2
11691169
exe 'Make'.(a:bang ? '! ' : ' ').a:args
11701170
else
11711171
exe 'make! '.a:args

0 commit comments

Comments
 (0)