-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathglobalrc
67 lines (67 loc) · 2.76 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
# Configuration file for GNU GLOBAL source code tag system.
#
# Basically, GLOBAL doesn't need this file ('gtags.conf'), because it has
# default values in its self. If you have the file as '/etc/gtags.conf' or
# "$HOME/.globalrc" in your system then GLOBAL overwrite the default values
# with the values in the file.
#
# The format is similar to termcap(5). You can specify a target with
# GTAGSLABEL environment variable. Default target is 'default'.
#
default:\
:tc=native:
native:\
:tc=gtags:
ctags:\
:tc=exuberant-ctags:
#---------------------------------------------------------------------
# Configuration for gtags(1)
# See gtags(1).
#---------------------------------------------------------------------
common:\
:skip=HTML/,HTML.pub/,tags,TAGS,ID,y.tab.c,y.tab.h,gtags.files,cscope.files,cscope.out,cscope.po.out,cscope.in.out,SCCS/,RCS/,CVS/,CVSROOT/,{arch}/,autom4te.cache/,*.orig,*.rej,*.bak,*~,#*#,*.swp,*.tmp,*_flymake.*,*_flymake:
#
# 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:
#
# 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=Awk\:.awk.gawk.mawk:\
:langmap=C\:.c:\
:langmap=C++\:.c++.cc.cp.cpp.cxx.h.h++.hh.hp.hpp.hxx.C.H:\
:langmap=Flex\:.as.mxml:\
:langmap=HTML\:.htm.html:\
:langmap=Java\:.java:\
:langmap=JavaScript\:.js:\
:langmap=Lisp\:.cl.clisp.el.l.lisp.lsp:\
:langmap=Perl\:.pl.pm.plx.perl:\
:langmap=Python\:.py.pyx.pxd.pxi.scons:\
:langmap=Ruby\:.rb.ruby:\
:langmap=Rust\:.rs:\
:langmap=Scheme\:.SCM.SM.sch.scheme.scm.sm:\
:langmap=Sh\:.sh.SH.bsh.bash.ksh.zsh:\
:langmap=YACC\:.y:\
:gtags_parser=Asm\:/usr/local/lib/gtags/exuberant-ctags.la:\
:gtags_parser=Awk\:/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=Flex\:/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=Perl\:/usr/local/lib/gtags/exuberant-ctags.la:\
:gtags_parser=Python\:/usr/local/lib/gtags/exuberant-ctags.la:\
:gtags_parser=Ruby\:/usr/local/lib/gtags/exuberant-ctags.la:\
:gtags_parser=Rust\:/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=YACC\:/usr/local/lib/gtags/exuberant-ctags.la: