Rozciągliwe ctags już obsługuje tag field "moduł" dla Erlang.
$ /usr/bin/ctags --version
Exuberant Ctags 5.8, Copyright (C) 1996-2009 Darren Hiebert
Compiled: Aug 17 2010, 17:33:33
Addresses: <[email protected]>, http://ctags.sourceforge.net
Optional compiled features: +wildcards, +regex
$ /usr/bin/ctags xref_parser.erl
Typowa slogan z polem tag o nazwie „moduł” wygląda następująco:
yeccgoto_const xref_parser.erl /^yeccgoto_const(24=_S, Cat, Ss, Stack, T, Ts, Tzr) ->$/;" f module:xref_parser
Właściwie, to VIM która nie obsługuje tego pola tag jak na razie. Od VIM doc:
{field} .. A list of optional fields. Each field has the form:
<Tab>{fieldname}:{value}
The {fieldname} identifies the field, and can only contain
alphabetical characters [a-zA-Z].
The {value} is any string, but cannot contain a <Tab>.
There is one field that doesn't have a ':'. This is the kind
of the tag. It is handled like it was preceded with "kind:".
See the documentation of ctags for the kinds it produces.
The only other field currently recognized by Vim is "file:"
(with an empty value). It is used for a static tag.
To wszystko. Tylko "rodzaj" i "plik" to obsługiwane nazwy pól tagów.
To narzędzie generuje moduł: znaczniki funkcji dla plików Erlang w taki sposób, że Vim może z nich korzystać: https://github.com/vim-erlang/vim-erlang-tags – hcs42