Explorar o código

ensure vim modeline support, add some php plugins

weiyi %!s(int64=12) %!d(string=hai) anos
pai
achega
543bd599d3
Modificáronse 2 ficheiros con 8 adicións e 0 borrados
  1. 1 0
      vim/vimrc
  2. 7 0
      vim/vimrc.bundles

+ 1 - 0
vim/vimrc

@@ -89,6 +89,7 @@ set winminheight=0              " Windows can be 0 line high
 set ignorecase                  " Case insensitive search
 set smartcase                   " Case sensitive when uc present
 set wildmenu                    " Show list instead of just completing
+set modeline                    " Support vim modelines at the top of files
 "set wildmode=list:longest,full  " Command <Tab> completion, list matches, then longest common part, then all.
 set whichwrap=b,s,h,l,<,>,[,]   " Backspace and cursor keys wrap too
 set shortmess+=filmnrxoOtT          " Abbrev. of messages (avoids 'hit enter')

+ 7 - 0
vim/vimrc.bundles

@@ -58,6 +58,9 @@ Bundle 'jistr/vim-nerdtree-tabs'
 " Code Browser {{{
 if executable('ctags')
   Bundle 'majutsushi/tagbar'
+  if executable('phpctags')
+    Bundle 'vim-php/tagbar-phpctags.vim'
+  endif
 endif
 " }}}
 
@@ -73,8 +76,12 @@ if filereadable(expand("~/.vim/bundle/vim-snippets/snippets/support_functions.vi
 endif
 " }}}
 
+" Coding Language Support {{{
+Bundle 'shawncplus/phpcomplete.vim'
 Bundle 'tpope/vim-markdown'
 Bundle 'tpope/vim-cucumber'
 Bundle 'quentindecock/vim-cucumber-align-pipes'
 Bundle 'kchmck/vim-coffee-script'
 " }}}
+
+" }}}