Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

List all kinds of tags in tags file #28

Closed
devonliu02 opened this issue Jan 31, 2017 · 4 comments
Closed

List all kinds of tags in tags file #28

devonliu02 opened this issue Jan 31, 2017 · 4 comments

Comments

@devonliu02
Copy link

devonliu02 commented Jan 31, 2017

It list all kinds of tags in my tags file when i press <leader>u, even the variables, functions.
How could i fix it?

image

@arnaud-lb
Copy link
Owner

I remember trying to fix that, but I couldn't find a way to tell vim to list only classes.

However, it's less a problem in case-sensitive mode, because searching for the tag User doesn't find variables named user in this mode.

I would suggest to switch to case sensitive mode.

@arnaud-lb
Copy link
Owner

Also, you might be able to exclude variable names from you tags file by adding --php-kinds=-v to your ctags command (this excludes variables from the tags file).

@robertbasic
Copy link

I have --PHP-kinds=+cfit-va in my global ctags file - ~/.ctags - and it made vim-php-namespace much better!

Thanks for the great plugin!

@jessarcher
Copy link

I would suggest to switch to case sensitive mode.

Could you please provide some more details on this? Is this a setting in this plugin (I can't find it in the docs or source code) or in ctags (can't find anything in the help) or in Vim itself?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants