summaryrefslogtreecommitdiffstats
path: root/.ctags
diff options
context:
space:
mode:
author=Corey Hulen <corey@hulen.com>2015-08-19 16:31:53 -0700
committer=Corey Hulen <corey@hulen.com>2015-08-19 16:31:53 -0700
commitaa2583a02702abef9bb41150c80538439e57f4b1 (patch)
tree624ac7d572ecfb34d3a16f6f8703d92ec0997bb4 /.ctags
parentca6bff340d2319ee86828de3591f010a66ffa8f9 (diff)
downloadchat-aa2583a02702abef9bb41150c80538439e57f4b1.tar.gz
chat-aa2583a02702abef9bb41150c80538439e57f4b1.tar.bz2
chat-aa2583a02702abef9bb41150c80538439e57f4b1.zip
Adding enviroment files
Diffstat (limited to '.ctags')
-rw-r--r--.ctags19
1 files changed, 19 insertions, 0 deletions
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/