Hello,
> Say in a project I have Cobol files (.cbl), C files (.h.c) and Shell
> files (.sh). What I would like to do is use global's own parser for the
> C files, so that I can have "find references" functionality. But I would
> like to use universal-ctags for the cobol and shell files (since global
> doesn't support those natively). Is this possible?
Of course.
> In this example:
>
> 'default' is both 'native' and 'pygments'. Does this mean both are used,
":tc=native:tc=pygments:" means:
If native parser exists for the target then it is used, else if pygments
parser exists it is used.
Since 'native' is specified before 'pygments', 'native' takes precedence.
Among langmaps, the first match is adopted.
> or does this line:
>
>
> mean that only the pygments-parser is used, even for the c files?
Built-in parser does not need 'gtags_parser', because language 'c' is parsed
by the built-in parser by default.
I am sorry that the description of the manual is inadequate.
Regards,
Shigio