mirror of https://github.com/bjeanes/dotfiles.git
Make ruby find ctags for gemsets
parent
a709b63aaa
commit
aa0bda76c7
|
@ -233,6 +233,9 @@ au! FileType scss syntax cluster sassCssAttributes add=@cssColors
|
||||||
|
|
||||||
" Thorfile, Rakefile and Gemfile are Ruby
|
" Thorfile, Rakefile and Gemfile are Ruby
|
||||||
au! BufRead,BufNewFile {Gemfile,Rakefile,Thorfile,config.ru} set ft=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
|
au! BufRead,BufNewFile gitconfig set ft=gitconfig
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue