Skip to content

Commit 52f3812

Browse files
committed
Don't singularize Redis
Closes tpope#498
1 parent ca5d360 commit 52f3812

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
@@ -671,7 +671,7 @@ function! rails#singularize(word) abort
671671
" Probably not worth it to be as comprehensive as Rails but we can
672672
" still hit the common cases.
673673
let word = a:word
674-
if word =~? '\.js$' || empty(word)
674+
if word =~? '\.js$\|redis$' || empty(word)
675675
return word
676676
endif
677677
let word = s:sub(word,'eople$','ersons')

0 commit comments

Comments
 (0)