Skip to content

Instantly share code, notes, and snippets.

@DeathRay1977
Created May 17, 2016 19:39
Show Gist options
  • Save DeathRay1977/36f22a6fe95e53e703e5c95aff68250d to your computer and use it in GitHub Desktop.
Save DeathRay1977/36f22a6fe95e53e703e5c95aff68250d to your computer and use it in GitHub Desktop.
--langdef=BrightScript
--langmap=BrightScript:.brs.bs
--regex-BrightScript=/^[Ff]unction[ \t]*([a-zA-Z0-9_]+)/\1/f,function/
--regex-BrightScript=/^[ \t]*[a-zA-Z0-9_]+[.]([a-zA-Z0-9_]+)[ \t]*=[ \t]*[Ff]unction/\1/f,function/
--regex-BrightScript=/^[Ss]ub[ \t]*([a-zA-Z0-9_]+)/\1/s,sub/
--regex-BrightScript=/^[ \t]*([a-zA-Z0-9_]+) ?=/\1/v,variable/
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment