Skip to content

Instantly share code, notes, and snippets.

@mxdevmanuel
Created April 25, 2020 17:04
Show Gist options
  • Save mxdevmanuel/bc5e3e5378dcbe7a7c6e2bbe569f1beb to your computer and use it in GitHub Desktop.
Save mxdevmanuel/bc5e3e5378dcbe7a7c6e2bbe569f1beb to your computer and use it in GitHub Desktop.
Dart ctags (tested with universal-ctags) WIP
--langdef=dart
--langmap=dart:.dart
--regex-dart=/^[ \t]*enum[ \t]+([_A-Za-z][_0-9A-Za-z]*)/\1/e,enum/
--regex-dart=/^[ \t]*class[ \t]+([_A-Za-z][_0-9A-Za-z]*)/\1/c,class/
--regex-dart=/^[ \t]*var[ \t]+([_A-Za-z][_0-9A-Za-z]*)/\1/v,variable/
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment