Browse Source

use gutentags for tag support

coc
Schneider 7 years ago
parent
commit
5a3dfa5671
  1. 6
      vim/ftplugin/php.vim
  2. 3
      vimrc.symlink

6
vim/ftplugin/php.vim

@ -1 +1,7 @@
let g:vim_tags_ctags_binary="/home/schneider/bin/phpctags"
let g:gutentags_ctags_exclude = ['*.css', '*.html', '*.js', '*.json', '*.xml',
\ '*.phar', '*.ini', '*.rst', '*.md',
\ '*vendor/*/test*', '*vendor/*/Test*',
\ '*vendor/*/fixture*', '*vendor/*/Fixture*',
\ '*var/cache*', '*var/log*']
let g:gutentags_ctags_executable = '/home/schneider/bin/phpctags'

3
vimrc.symlink

@ -30,7 +30,7 @@ Plug 'tpope/vim-repeat'
Plug 'vim-syntastic/syntastic'
Plug 'altercation/vim-colors-solarized'
Plug 'godlygeek/tabular' " Align text on symbols
Plug 'szw/vim-tags' , { 'for' : 'php' } " tags support
Plug 'ludovicchabant/vim-gutentags', { 'for': ['php', 'c', 'cpp'] }
Plug 'junegunn/fzf', { 'dir': '~/.fzf', 'do': './install --all' } " fuzzy file finder
Plug 'junegunn/fzf.vim' " vim integration for fzf
if has("nvim")
@ -57,7 +57,6 @@ Plug 'posva/vim-vue', { 'for': [ 'javascript', 'html', 'vue' ] } " vue.js integr
Plug 'fatih/vim-go', { 'for': [ 'go', 'html', 'gohtmltmpl' ], 'do': ':GoInstallBinaries' } " go support
" LaTeX
"Plug 'LaTeX-Box-Team/LaTeX-Box', { 'for': 'tex' }
Plug 'lervag/vimtex', { 'for': 'tex' }
" Markdown

Loading…
Cancel
Save