universal-ctags/citre

exclude dirs/files listed in .gitignore when create tag file

Closed this issue · 2 comments

t6ui commented

I've come to understand that I can exclude directories when generating tag files using the command ctags --exclude=@/workspace/open/linux/linux-2.6.24/.gitignore -R.
Is there a way to automate or customize this feature within the citre package?

ctags doesn't know the syntax of .gitignore. Because your ".gitignore" is not too complicated, ctags works as your expectation. See universal-ctags/ctags#218.

t6ui commented

@masatake Ok, thank you!