-
Notifications
You must be signed in to change notification settings - Fork 0
/
.globalrc
152 lines (152 loc) · 6.02 KB
/
.globalrc
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
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
#
# Copyright (c) 1998, 1999, 2000, 2001, 2002, 2003, 2010, 2011, 2013
# Tama Communications Corporation
#
# This file is part of GNU GLOBAL.
#
# This file is free software; as a special exception the author gives
# unlimited permission to copy and/or distribute it, with or without
# modifications, as long as this notice is preserved.
#
# This program is distributed in the hope that it will be useful, but
# WITHOUT ANY WARRANTY, to the extent permitted by law; without even the
# implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
#
# *
# Configuration file for GNU GLOBAL source code tag system.
#
# GLOBAL doesn't need 'gtags.conf' because it has the default values in it.
# But if you have this file as '/etc/gtags.conf' or "$HOME/.globalrc"
# then GLOBAL system overwrite default values with the values from the file.
#
# 'gtags.conf' is termcap style file.
# 'default' is default target.
# You can specify target with GTAGSLABEL environment variable.
#
default:\
:tc=native:
native:\
:tc=gtags:tc=htags:
user:\
:tc=user-custom:tc=htags:
ctags:\
:tc=exuberant-ctags:tc=htags:
#---------------------------------------------------------------------
# Configuration for gtags(1)
# See gtags(1).
#---------------------------------------------------------------------
common:\
:skip=HTML/,HTML.pub/,tags,TAGS,ID,y.tab.c,y.tab.h,cscope.out,cscope.po.out,cscope.in.out,SCCS/,RCS/,CVS/,CVSROOT/,{arch}/,autom4te.cache/:
#
# Built-in parsers.
#
gtags:\
:tc=common:\
:tc=builtin-parser:
builtin-parser:\
:langmap=c\:.c.h,yacc\:.y,asm\:.s.S,java\:.java,cpp\:.c++.cc.hh.cpp.cxx.hxx.hpp.C.H,php\:.php.php3.phtml:
#
# skeleton for user's custom parser.
#
user-custom|User custom plugin parser:\
:tc=common:\
:langmap=c\:.c.h:\
:gtags_parser=c\:/usr/local/lib/gtags/user-custom.la:
#
# Plug-in parser to use Exuberant Ctags.
#
exuberant-ctags|plugin-example|setting to use Exuberant Ctags plug-in parser:\
:tc=common:\
:langmap=Asm\:.asm.ASM.s.S:\
:langmap=Asp\:.asp.asa:\
:langmap=Awk\:.awk.gawk.mawk:\
:langmap=Basic\:.bas.bi.bb.pb:\
:langmap=BETA\:.bet:\
:langmap=C\:.c:\
:langmap=C++\:.c++.cc.cp.cpp.cxx.h.h++.hh.hp.hpp.hxx.C.H:\
:langmap=C#\:.cs:\
:langmap=Cobol\:.cbl.cob.CBL.COB:\
:langmap=DosBatch\:.bat.cmd:\
:langmap=Eiffel\:.e:\
:langmap=Erlang\:.erl.ERL.hrl.HRL:\
:langmap=Flex\:.as.mxml:\
:langmap=Fortran\:.f.for.ftn.f77.f90.f95.F.FOR.FTN.F77.F90.F95:\
:langmap=HTML\:.htm.html:\
:langmap=Java\:.java:\
:langmap=JavaScript\:.js:\
:langmap=Lisp\:.cl.clisp.el.l.lisp.lsp.clj:\
:langmap=Lua\:.lua:\
:langmap=MatLab\:.m:\
:langmap=OCaml\:.ml.mli:\
:langmap=Pascal\:.p.pas:\
:langmap=Perl\:.pl.pm.plx.perl:\
:langmap=PHP\:.php.php3.phtml:\
:langmap=Python\:.py.pyx.pxd.pxi.scons:\
:langmap=REXX\:.cmd.rexx.rx:\
:langmap=Ruby\:.rb.ruby:\
:langmap=Scala\:.scala:\
:langmap=Scheme\:.SCM.SM.sch.scheme.scm.sm:\
:langmap=Sh\:.sh.SH.bsh.bash.ksh.zsh:\
:langmap=SLang\:.sl:\
:langmap=SML\:.sml.sig:\
:langmap=SQL\:.sql:\
:langmap=Tcl\:.tcl.tk.wish.itcl:\
:langmap=Tex\:.tex:\
:langmap=Vera\:.vr.vri.vrh:\
:langmap=Verilog\:.v:\
:langmap=VHDL\:.vhdl.vhd:\
:langmap=Vim\:.vim:\
:langmap=YACC\:.y:\
:gtags_parser=Asm\:/usr/local/lib/gtags/exuberant-ctags.la:\
:gtags_parser=Asp\:/usr/local/lib/gtags/exuberant-ctags.la:\
:gtags_parser=Awk\:/usr/local/lib/gtags/exuberant-ctags.la:\
:gtags_parser=Basic\:/usr/local/lib/gtags/exuberant-ctags.la:\
:gtags_parser=BETA\:/usr/local/lib/gtags/exuberant-ctags.la:\
:gtags_parser=C\:/usr/local/lib/gtags/exuberant-ctags.la:\
:gtags_parser=C++\:/usr/local/lib/gtags/exuberant-ctags.la:\
:gtags_parser=C#\:/usr/local/lib/gtags/exuberant-ctags.la:\
:gtags_parser=Cobol\:/usr/local/lib/gtags/exuberant-ctags.la:\
:gtags_parser=DosBatch\:/usr/local/lib/gtags/exuberant-ctags.la:\
:gtags_parser=Eiffel\:/usr/local/lib/gtags/exuberant-ctags.la:\
:gtags_parser=Erlang\:/usr/local/lib/gtags/exuberant-ctags.la:\
:gtags_parser=Flex\:/usr/local/lib/gtags/exuberant-ctags.la:\
:gtags_parser=Fortran\:/usr/local/lib/gtags/exuberant-ctags.la:\
:gtags_parser=HTML\:/usr/local/lib/gtags/exuberant-ctags.la:\
:gtags_parser=Java\:/usr/local/lib/gtags/exuberant-ctags.la:\
:gtags_parser=JavaScript\:/usr/local/lib/gtags/exuberant-ctags.la:\
:gtags_parser=Lisp\:/usr/local/lib/gtags/exuberant-ctags.la:\
:gtags_parser=Lua\:/usr/local/lib/gtags/exuberant-ctags.la:\
:gtags_parser=MatLab\:/usr/local/lib/gtags/exuberant-ctags.la:\
:gtags_parser=OCaml\:/usr/local/lib/gtags/exuberant-ctags.la:\
:gtags_parser=Pascal\:/usr/local/lib/gtags/exuberant-ctags.la:\
:gtags_parser=Perl\:/usr/local/lib/gtags/exuberant-ctags.la:\
:gtags_parser=PHP\:/usr/local/lib/gtags/exuberant-ctags.la:\
:gtags_parser=Python\:/usr/local/lib/gtags/exuberant-ctags.la:\
:gtags_parser=REXX\:/usr/local/lib/gtags/exuberant-ctags.la:\
:gtags_parser=Ruby\:/usr/local/lib/gtags/exuberant-ctags.la:\
:gtags_parser=Scala\:/usr/local/lib/gtags/exuberant-ctags.la:\
:gtags_parser=Scheme\:/usr/local/lib/gtags/exuberant-ctags.la:\
:gtags_parser=Sh\:/usr/local/lib/gtags/exuberant-ctags.la:\
:gtags_parser=SLang\:/usr/local/lib/gtags/exuberant-ctags.la:\
:gtags_parser=SML\:/usr/local/lib/gtags/exuberant-ctags.la:\
:gtags_parser=SQL\:/usr/local/lib/gtags/exuberant-ctags.la:\
:gtags_parser=Tcl\:/usr/local/lib/gtags/exuberant-ctags.la:\
:gtags_parser=Tex\:/usr/local/lib/gtags/exuberant-ctags.la:\
:gtags_parser=Vera\:/usr/local/lib/gtags/exuberant-ctags.la:\
:gtags_parser=Verilog\:/usr/local/lib/gtags/exuberant-ctags.la:\
:gtags_parser=VHDL\:/usr/local/lib/gtags/exuberant-ctags.la:\
:gtags_parser=Vim\:/usr/local/lib/gtags/exuberant-ctags.la:\
:gtags_parser=YACC\:/usr/local/lib/gtags/exuberant-ctags.la:
#
# Drupal configuration.
#
drupal|Drupal content management platform:\
:tc=common:\
:langmap=php\:.php.module.inc.profile.install.test:
#---------------------------------------------------------------------
# Configuration for htags(1)
# Let's paint hypertext with your favorite colors!
# See htags(1).
#---------------------------------------------------------------------
htags:\
:script_alias=/cgi-bin/:ncol#4:tabs#8:normal_suffix=html:gzipped_suffix=ghtml: