From fa83b9f4c293dab8e8c5923cb1d6afe61b3a6ad1 Mon Sep 17 00:00:00 2001 From: Florian Pritz Date: Tue, 7 Jun 2016 11:02:28 +0200 Subject: vim: Add tagbar-phpctags Signed-off-by: Florian Pritz --- .gitmodules | 3 +++ .vim/bundle/tagbar-phpctags.vim | 1 + .vimrc | 4 ++++ 3 files changed, 8 insertions(+) create mode 160000 .vim/bundle/tagbar-phpctags.vim diff --git a/.gitmodules b/.gitmodules index bd780f1..73bed82 100644 --- a/.gitmodules +++ b/.gitmodules @@ -85,3 +85,6 @@ [submodule ".vim/bundle/vim-ansible-yaml"] path = .vim/bundle/vim-ansible-yaml url = https://github.com/chase/vim-ansible-yaml.git +[submodule ".vim/bundle/tagbar-phpctags.vim"] + path = .vim/bundle/tagbar-phpctags.vim + url = https://github.com/vim-php/tagbar-phpctags.vim.git diff --git a/.vim/bundle/tagbar-phpctags.vim b/.vim/bundle/tagbar-phpctags.vim new file mode 160000 index 0000000..00d12a8 --- /dev/null +++ b/.vim/bundle/tagbar-phpctags.vim @@ -0,0 +1 @@ +Subproject commit 00d12a891482c35e6bd0dd9a8860163322a45daf diff --git a/.vimrc b/.vimrc index 2f17add..de0030f 100644 --- a/.vimrc +++ b/.vimrc @@ -62,6 +62,9 @@ let g:ycm_extra_conf_globlist = ['~/.ycm_extra_conf.py'] let g:ycm_global_ycm_extra_conf = '~/.ycm_extra_conf.py' let g:tex_flavor='latex' + +let g:tagbar_phpctags_bin='~/git/phpctags/bin/phpctags' +let g:tagbar_phpctags_memory_limit = '512M' " }}} filetype off @@ -91,6 +94,7 @@ Plugin 'shawncplus/phpcomplete.vim' Plugin 'sjl/splice.vim' Plugin 'LaTeX-Box-Team/LaTeX-Box' Plugin 'chase/vim-ansible-yaml' +Plugin 'vim-php/tagbar-phpctags.vim' call vundle#end() syntax on -- cgit v1.2.3-24-g4f1b