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 e2c72b5 commit 680ac8fCopy full SHA for 680ac8f
autoload/rails.vim
@@ -4919,7 +4919,7 @@ function! rails#ruby_setup() abort
4919
endif
4920
call extend(exts,
4921
\ filter(map(keys(rails#app().projections()),
4922
- \ 'matchstr(v:val, "^\\Capp/views/\\*\\.\\zs(\\w\\+$")'), 'len(v:val)'))
+ \ 'matchstr(v:val, "^\\Capp/views/\\*\\.\\zs\\w\\+$")'), 'len(v:val)'))
4923
else
4924
let full = matchstr(expand('%:p'), '.*[\/]\%(app\|config\|lib\|test\|spec\)\ze[\/]')
4925
let name = fnamemodify(full, ':t')
0 commit comments