Make ruby find ctags for gemsets

pull/2/head
Bodaniel Jeanes 2011-08-14 12:07:08 -05:00
parent a709b63aaa
commit aa0bda76c7
1 changed files with 3 additions and 0 deletions

View File

@ -233,6 +233,9 @@ au! FileType scss syntax cluster sassCssAttributes add=@cssColors
" Thorfile, Rakefile and Gemfile are Ruby
au! BufRead,BufNewFile {Gemfile,Rakefile,Thorfile,config.ru} set ft=ruby
au! FileType ruby let &l:tags = pathogen#legacyjoin(pathogen#uniq(
\ pathogen#split(&tags) +
\ map(split($GEM_PATH,':'),'v:val."/gems/*/tags"')))
au! BufRead,BufNewFile gitconfig set ft=gitconfig