Skip to content

Commit

Permalink
Update line ordering for vundle
Browse files Browse the repository at this point in the history
This is to fix an issue where plugins don't load properly by ftdetect.
VundleVim/Vundle.vim#16
  • Loading branch information
supercow committed Aug 5, 2015
1 parent ed934a4 commit d18acf0
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 4 deletions.
6 changes: 2 additions & 4 deletions templates/vimrc.erb
Original file line number Diff line number Diff line change
Expand Up @@ -32,16 +32,14 @@ map <%= k %> <%= v %>
let &guicursor = &guicursor . ",a:blinkon0"
<% end -%>
<% @lines.each do |line| -%>
<%= line %>
<% end -%>
<% if @osfamily == 'Debian' -%>
if filereadable("/etc/vim/vimrc.local")
source /etc/vim/vimrc.local
endif
<% end -%>

filetype off

set rtp+=/etc/vim/bundle/vundle
call vundle#begin('/etc/vim/bundle')

4 changes: 4 additions & 0 deletions templates/vundle_end.erb
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@

call vundle#end()

<% @lines.each do |line| -%>
<%= line %>
<% end -%>

0 comments on commit d18acf0

Please sign in to comment.