Skip to content

vim-php/tagbar-phpctags.vim

master
Switch branches/tags
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
 
 
 
 
 
 
 
 

tagbar-phpctags

An addon plugin for tagbar using phpctags to generate php ctags index.

This plugin provides a much better PHP syntax outline support than the orginal ctags. Methods, properties and even local variables assigned in functions are listed in their own scope.

Installation

Using Plug, add to your config:

Plug 'vim-php/phpctags', {'do': 'composer install' }

Configuration

If you use the composer option above it will install phpctags with the plugin's directory. Otherwise you need to have phpctags in your $PATH.

Or, the location of phpctags can be configured in vimrc as such:

let g:tagbar_phpctags_bin='PATH_TO_phpctags'

The amount of memory that phpctags can use can be configured as such:

let g:tagbar_phpctags_memory_limit = '512M'

The default is 128 megabytes of memory.

Acknowledgements

  • DeMarko for memory limit support.
  • Chronial for improve the tags folding.
  • InFog for maintaining the project since end of 2019.

About

Using phpctags to generate php ctags index for vim plugin tagbar.

Resources

Stars

Watchers

Forks

Packages

No packages published