Skip to content
This repository was archived by the owner on Nov 6, 2025. It is now read-only.

Commit 7e5c5a1

Browse files
tpoperagaskar
authored andcommitted
Detect extras/ for Igor Vinokurov
1 parent 031b66d commit 7e5c5a1

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

plugin/rails.vim

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -110,7 +110,7 @@ function! s:Detect(filename)
110110
return s:BufInit(fn)
111111
endif
112112
let ofn = fn
113-
let fn = fnamemodify(ofn,':s?\(.*\)[\/]\(app\|config\|db\|doc\|features\|lib\|log\|public\|script\|spec\|stories\|test\|tmp\|vendor\)\($\|[\/].*$\)?\1?')
113+
let fn = fnamemodify(ofn,':s?\(.*\)[\/]\(app\|config\|db\|doc\|extras\|features\|lib\|log\|public\|script\|spec\|stories\|test\|tmp\|vendor\)\($\|[\/].*$\)?\1?')
114114
endwhile
115115
return 0
116116
endfunction

0 commit comments

Comments
 (0)