Skip to content

Commit

Permalink
Add ctags config file
Browse files Browse the repository at this point in the history
  • Loading branch information
blueyed committed Nov 17, 2015
1 parent 74f78f4 commit 417add1
Show file tree
Hide file tree
Showing 2 changed files with 20 additions and 0 deletions.
1 change: 1 addition & 0 deletions Makefile
Expand Up @@ -7,6 +7,7 @@ VERBOSE=1
INSTALL_FILES := ackrc agignore aptitude/config \
$(wildcard bazaar/plugins/*) \
$(filter-out bazaar/plugins,$(wildcard bazaar/*)) \
ctags \
$(wildcard fonts/*) gemrc gitconfig gitattributes.global gitignore.global \
hgrc irbrc oh-my-zsh pbuilderrc pdbrc pentadactyl \
pentadactylrc railsrc \
Expand Down
19 changes: 19 additions & 0 deletions ctags
@@ -0,0 +1,19 @@
--fields=+l
--c-kinds=+p
--c++-kinds=+p
--python-kinds=-iv
--langmap=php:.engine.inc.module.theme.install.php.php3.php4.php5.phtml
--langmap=sh:+(zshrc).zsh-theme
--langmap=vim:+.vader
--exclude=.tox
--exclude=build
--languages=-json

# Look for shebangs/modelines.
--guess-language-eagerly

# Nix; source: https://github.com/NixOS/nixpkgs/blob/master/pkgs/development/tools/misc/ctags/wrapped.nix
--langdef=NIX
--langmap=NIX:.nix
--regex-NIX=/(\S+)\s*=.*:/\1/f/
--regex-NIX=/^\s*(\S+)\s*=/\1/v/

0 comments on commit 417add1

Please sign in to comment.