Skip to content

Commit b14f580

Browse files
committed
Include .rb in :Rfind tab complete
This is as close to addressing tpope#18 as we're going to get.
1 parent 7eb0826 commit b14f580

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

autoload/rails.vim

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1797,8 +1797,7 @@ function! s:Complete_find(ArgLead, CmdLine, CursorPos)
17971797
endfor
17981798
endif
17991799
endfor
1800-
let results = sort(map(keys(seen),'s:sub(v:val,"[.]rb$","")'))
1801-
return s:autocamelize(results,a:ArgLead)
1800+
return s:autocamelize(sort(keys(seen)),a:ArgLead)
18021801
endfunction
18031802

18041803
function! s:Complete_edit(ArgLead, CmdLine, CursorPos)

0 commit comments

Comments
 (0)