about summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorKartik K. Agaram <vc@akkartik.com>2016-06-24 18:12:36 -0700
committerKartik K. Agaram <vc@akkartik.com>2016-06-24 18:13:45 -0700
commit37e0a43179e674ae9f1c2aa74afafa3c64b53e6e (patch)
treec10e360ba56ba5e70af07f3eab0777b209070675
parent944f4410e90209821fe6056d2b6cbb724be576c8 (diff)
downloadmu-37e0a43179e674ae9f1c2aa74afafa3c64b53e6e.tar.gz
3065 - Mu language definition for Exuberant Ctags
Thanks Stephen Malina for the suggestion.

I don't yet know how to include comments in the .ctagsrc file, so I'll
include them here for now:

  To use this file, symlink or append exuberant-ctags-rc to your
  ~/.ctagsrc.
-rw-r--r--exuberant-ctags-rc8
1 files changed, 8 insertions, 0 deletions
diff --git a/exuberant-ctags-rc b/exuberant-ctags-rc
new file mode 100644
index 00000000..73677b8d
--- /dev/null
+++ b/exuberant-ctags-rc
@@ -0,0 +1,8 @@
+--langdef=mu
+--langmap=mu:.mu
+--regex-mu=/^def[ \t]+([^ \t]*)/\1/d,definition/
+--regex-mu=/^recipe[ \t]+([^ \t]*)/\1/d,definition/
+--regex-mu=/^before[ \t]+([^ \t]*)/\1/d,definition/
+--regex-mu=/^after[ \t]+([^ \t]*)/\1/d,definition/
+--regex-mu=/^container[ \t]+([^ \t]*)/\1/s,struct/
+--regex-mu=/^exclusive-container[ \t]+([^ \t]*)/\1/u,union/
id='n129' href='#n129'>129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165