-
Notifications
You must be signed in to change notification settings - Fork 76
/
.globalrc
123 lines (123 loc) · 5.67 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
#
# Copyright (c) 1998, 1999, 2000, 2001, 2002, 2003, 2010
# 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.
#
# Variable 'suffixes' is obsoleted but is acceptable because it is needed
# for plugged-in parser. If you use gtags-parser(1) then you should use
# variable 'langmap' instead.
#
default:\
:tc=gtags:tc=htags:
#---------------------------------------------------------------------
# Configuration for gtags(1)
# See gtags(1).
#---------------------------------------------------------------------
common:\
:skip=GPATH,GTAGS,GRTAGS,GSYMS,HTML/,HTML.pub/,html/,tags,TAGS,ID,y.tab.c,y.tab.h,cscope.out,cscope.po.out,cscope.in.out,SCCS/,RCS/,CVS/,CVSROOT/,{arch}/,autom4te.cache/:
gtags:\
:tc=common:\
:langmap=c\:.c.h,yacc\:.y,asm\:.s.S,java\:.java,cpp\:.c++.cc.cpp.cxx.hxx.hpp.C.H,php\:.php.php3.phtml:
#
# plugin parser
#
plugin-example|Example of function layer plugin parser:\
:tc=common:extractmethod:\
:langmap=ObjectiveC\:.m.mm:\
:langmap=androidpng\:.png.jpg:\
:langmap=androidxml\:.xml:\
:langmap=antlr\:.g.g4:\
:langmap=OrgMode\:.org:\
:langmap=Scala\:.scala:\
:langmap=asm\:.S.s:\
:langmap=awk\:.awk:\
:langmap=c\:.c:\
:langmap=c#\:.cs:\
:langmap=c++\:.C.H.c++.cc.cpp.cxx.h.hpp.hxx:\
:langmap=fortran\:.f.f77.f90.f95.for:\
:langmap=jar\:.jar.dll.exe:\
:langmap=java\:.aidl.java:\
:langmap=Clojure\:.clj:\
:langmap=rep\:.jl:\
:langmap=javaprop\:(ExternalMessages.properties):\
:langmap=javascript\:.js:\
:langmap=kconfig\:(Kconfig*):\
:langmap=lisp\:(.emacs).el.l.lisp:\
:langmap=lua\:.lua:\
:langmap=make\:(*.am)(Kbuild*)([mM]akefile*).make.mk:\
:langmap=pascal\:.p.pas:\
:langmap=perl\:.pl.pm:\
:langmap=php\:.php.php3.phtml:\
:langmap=python\:.py:\
:langmap=ruby\:.rb:\
:langmap=scheme\:.scm:\
:langmap=sh\:(.bashrc*).sh:\
:langmap=vim\:.vim:\
:langmap=yacc\:.y:\
:gtags_parser=c\:/usr/local/lib/gtags/exuberant-ctags.la:\
:gtags_parser=yacc\:/usr/local/lib/gtags/exuberant-ctags.la:\
:gtags_parser=asm\:/usr/local/lib/gtags/exuberant-ctags.la:\
:gtags_parser=java\:/usr/local/lib/gtags/exuberant-ctags.la:\
:gtags_parser=Clojure\:/usr/local/lib/gtags/exuberant-ctags.la:\
:gtags_parser=rep\:/usr/local/lib/gtags/exuberant-ctags.la:\
:gtags_parser=OrgMode\:/usr/local/lib/gtags/exuberant-ctags.la:\
:gtags_parser=Scala\:/usr/local/lib/gtags/exuberant-ctags.la:\
:gtags_parser=jar\:/usr/local/lib/gtags/gtags-antlr-java.la:\
:gtags_parser=antlr\:/usr/local/lib/gtags/exuberant-ctags.la:\
:gtags_parser=c++\:/usr/local/lib/gtags/exuberant-ctags.la:\
:gtags_parser=php\:/usr/local/lib/gtags/exuberant-ctags.la:\
:gtags_parser=fortran\:/usr/local/lib/gtags/exuberant-ctags.la:\
:gtags_parser=pascal\:/usr/local/lib/gtags/exuberant-ctags.la:\
:gtags_parser=c#\:/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=kconfig\:/usr/local/lib/gtags/exuberant-ctags.la:\
:gtags_parser=androidxml\:/usr/local/lib/gtags/exuberant-ctags.la:\
:gtags_parser=androidpng\:/usr/local/lib/gtags/exuberant-ctags.la:\
:gtags_parser=javaprop\:/usr/local/lib/gtags/exuberant-ctags.la:\
:gtags_parser=scheme\:/usr/local/lib/gtags/exuberant-ctags.la:\
:gtags_parser=awk\:/usr/local/lib/gtags/exuberant-ctags.la:\
:gtags_parser=ruby\:/usr/local/lib/gtags/exuberant-ctags.la:\
:gtags_parser=perl\:/usr/local/lib/gtags/exuberant-ctags.la:\
:gtags_parser=python\:/usr/local/lib/gtags/exuberant-ctags.la:\
:gtags_parser=vim\:/usr/local/lib/gtags/exuberant-ctags.la:\
:gtags_parser=javascript\:/usr/local/lib/gtags/exuberant-ctags.la:\
:gtags_parser=make\:/usr/local/lib/gtags/exuberant-ctags.la:\
:gtags_parser=ObjectiveC\:/usr/local/lib/gtags/exuberant-ctags.la:\
:gtags_parser=sh\:/usr/local/lib/gtags/exuberant-ctags.la:
#---------------------------------------------------------------------
# Configuration for htags(1)
# Let's paint hypertext with your favorite colors!
# See htags(1).
#---------------------------------------------------------------------
htags:\
:body_begin=<body text='#191970' bgcolor='#f5f5dc' vlink='gray'>:body_end=</body>:\
:table_begin=<table>:table_end=</table>:\
:title_begin=<h1><font color='#cc0000'>:title_end=</font></h1>:\
:comment_begin=<i><font color='green'>:comment_end=</font></i>:\
:sharp_begin=<font color='darkred'>:sharp_end=</font>:\
:brace_begin=<font color='red'>:brace_end=</font>:\
:warned_line_begin=<span style='background-color\:yellow'>:warned_line_end=</span>:\
:reserved_begin=<b>:reserved_end=</b>:script_alias=/cgi-bin/:\
:ncol#4:tabs#8:normal_suffix=html:gzipped_suffix=ghtml:\
:definition_header=no: