summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--.agignore3
-rw-r--r--.ctags19
-rw-r--r--.gitignore4
3 files changed, 26 insertions, 0 deletions
diff --git a/.agignore b/.agignore
new file mode 100644
index 000000000..ca1b2cf52
--- /dev/null
+++ b/.agignore
@@ -0,0 +1,3 @@
+tags
+Godeps/*
+static/js/*
diff --git a/.ctags b/.ctags
new file mode 100644
index 000000000..35fdcba9c
--- /dev/null
+++ b/.ctags
@@ -0,0 +1,19 @@
+--recurse=yes
+--exclude=.git
+--exclude=Godeps
+--exclude=node_modules
+--exclude=static
+
+--langdef=Go
+--langmap=Go:.go
+--regex-Go=/func([ \t]+\([^)]+\))?[ \t]+([a-zA-Z0-9_]+)/\2/d,func/
+--regex-Go=/var[ \t]+([a-zA-Z_][a-zA-Z0-9_]+)/\1/d,var/
+--regex-Go=/type[ \t]+([a-zA-Z_][a-zA-Z0-9_]+)/\1/d,type/
+
+--langdef=JSX
+--langmap=jsx:.jsx
+--regex-jsx=/^[ \t]*import[ \t]+([^;]+)/\1/r,import,imports/
+--regex-jsx=/^[ \t]*([a-z]+[ \t]+)*function[ \t]+([A-Za-z0-9_]+[ \t]*[^{;]*)/\2/f,function,functions/
+--regex-jsx=/^[ \t]*([a-z]+[ \t]+)*class[ \t]+([A-Za-z0-9_]+)[ \t]*([^)])/\2/c,class,classes/
+--regex-jsx=/^[ \t]*([a-z]+[ \t]+)*interface[ \t]+([A-Za-z0-9_]+)[ \t]*([^)])/\2/i,interface,interfaces/
+--regex-jsx=/^[ \t]*([a-z]+[ \t]+)*mixin[ \t]+([A-Za-z0-9_]+)[ \t]*([^)])/\2/m,mixin,mixins/
diff --git a/.gitignore b/.gitignore
index 97de7eea5..79761adac 100644
--- a/.gitignore
+++ b/.gitignore
@@ -50,3 +50,7 @@ web/sass-files/sass/.sass-cache/
# Default local file storage
data/*
api/data/*
+
+.agignore
+.ctags
+tags