@ankitpati, these are some useful docs for adding parsers from Exuberant CTags project (which Universal CTags is a fork of), I presume they mostly still apply:

http://ctags.sourceforge.net/parser.html
http://ctags.sourceforge.net/EXTENDING.html

There's this VIM config file which shows the command-line based custom Swift regex parser some people use (no idea how well it works), which could be ported to a compiled regexp parser as per above docs:

keith/swift.vim@5d5f814

According to @b4n the main limitation with a regexp-based parser is that it can't handle stuff like scope information, while a character-based parser can support this since it can maintain own state during the parse, if I understood correctly.


You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub, or mute the thread.