Adding ctags support for BrightScript

I was editing some BrightScript (Roku) code and I wanted ctags support for Vim. Ctags doesn't understand BrightScript out of the box, so I made a custom definition. Here is the quick function definition that I used in my ~/.ctags file.

--langdef=BrightScript
--langmap=BrightScript:.brs
--regex-BrightScript=/^Function[ \t]*([a-zA-Z0-9_]+)/\1/f,function/
--regex-BrightScript=/^Sub[ \t]*([a-zA-Z0-9_]+)/\1/s,sub/
--regex-BrightScript=/^[ \t]*(\w+) ?=/\1/v,variable/


Note: Replies will be formatted with PHP Markdown Extra syntax.

Name: Email (Not Required):
 
Logged IP: 3.16.69.143
To prevent spam please submit by clicking the kitten: