[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: gtags alternate file extension
From: |
Shigio YAMAGUCHI |
Subject: |
Re: gtags alternate file extension |
Date: |
Tue, 17 Jan 2012 21:41:25 +0900 |
Hi,
> i am running gtags - GNU GLOBAL 5.9.7.
> my project tree contains files with extensions .alt,
> it contains c code, only the extension is different.
> how can i make gtags recognize these files.
You can do it by adding '.alt' to the value of langmap in the configuration
file like follows:
:langmap=c\:.c.h,yacc\:...
|
v
:langmap=c\:.c.h.alt,yacc\:...
====
--
Shigio YAMAGUCHI <address@hidden>
PGP fingerprint: D1CB 0B89 B346 4AB6 5663 C4B6 3CA5 BBB3 57BE DDA3