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.
1 parent ca5d360 commit 52f3812Copy full SHA for 52f3812
autoload/rails.vim
@@ -671,7 +671,7 @@ function! rails#singularize(word) abort
671
" Probably not worth it to be as comprehensive as Rails but we can
672
" still hit the common cases.
673
let word = a:word
674
- if word =~? '\.js$' || empty(word)
+ if word =~? '\.js$\|redis$' || empty(word)
675
return word
676
endif
677
let word = s:sub(word,'eople$','ersons')
0 commit comments