Skip to content

Commit df00b63

Browse files
committed
Fix feature detection
Closes tpope#405.
1 parent e8f9456 commit df00b63

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
@@ -866,7 +866,7 @@ function! s:app_has(feature) dict
866866
if !has_key(features,a:feature)
867867
let path = get(map,a:feature,a:feature.'/')
868868
let features[a:feature] =
869-
\ !empty(filter(split('path', '|'), 'self.has_path(v:val)'))
869+
\ !empty(filter(split(path, '|'), 'self.has_path(v:val)'))
870870
endif
871871
return features[a:feature]
872872
endfunction

0 commit comments

Comments
 (0)