Search code examples
vimtagsidectags

Why ctags exclusion (--exclude) doesn't work for me?


I'm just trying to figure out why does the following command not work:

ctags -R ../.. --exclude={build_kernel,build_user}

Solution

  • Because ctags doesn't even apply the --exclude block. Just try:

    ctags -R --exclude={build_kernel,build_user} ../..
    

    Also read: How to exclude multiple directories with Exuberant ctags?