-
Notifications
You must be signed in to change notification settings - Fork 33
/
ctags
30 lines (26 loc) · 787 Bytes
/
ctags
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
--fields=+ln
--c-kinds=+p
--c++-kinds=+p
# Python: v are class members?! l are local vars. (with universal-ctags)
# --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
--exclude=.build*
# Arch package dirs.
--exclude=pkg
--languages=-json
# Fails with --append?
# --tag-relative=yes
# 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/
# Look at .ctags for extra options.
# This can be used to ignore certain files per repo.
--options-maybe=./.ctags