aboutsummaryrefslogblamecommitdiff
path: root/vim/vimrc.stub.vim
blob: 25ca7cf82562e09d3a7ec04ac96526f116ae7304 (plain) (tree)
1
2
3
4
5
6
7
8
9

                                                                    



                                             
                                                                            
                                                                         
                                   
               

        
 

                                                                      

                             
" If POSIXLY_CORRECT is defined in the environment, we'll start with
" 'compatible' enabled if we're not already doing so
if exists('$POSIXLY_CORRECT') && !&compatible
  set compatible
endif

" If we have non-tiny Vim version >=7, source real vimrc; this works because
" tiny and/or ancient builds of Vim quietly ignore all code in :if blocks
if v:version >= 700 && !&compatible
  runtime vimrc
  finish
endif

" Otherwise, prevent an old and/or tiny Vim from using any part of our
" configuration, because parts of it will break
set runtimepath-=~/.vim
set runtimepath-=~/.vim/after