commit f0b18fea7da92728f90fa2be6fd4a509563edc93
parent edb5a689e42cdcb3979081c845c0ee9bb3b4d37f
Author: Alex Balgavy <a.balgavy@gmail.com>
Date: Tue, 8 Jan 2019 17:51:53 +0100
ctags config file
Former-commit-id: 91de9123b5a62443b6c7b8f7182627e821ce6511
Diffstat:
1 file changed, 13 insertions(+), 0 deletions(-)
diff --git a/other-scripts/ctags b/other-scripts/ctags
@@ -0,0 +1,13 @@
+--langdef=wiki
+--langmap=wiki:.wiki
+--regex-wiki=/^=[ \t]+(.+)[ \t]+=$/\1/h,header/
+--regex-wiki=/^==[ \t]+(.+)[ \t]+==$/. \1/h,header/
+--regex-wiki=/^===[ \t]+(.+)[ \t]+===$/. \1/h,header/
+--regex-wiki=/^====[ \t]+(.+)[ \t]+====$/. \1/h,header/
+--regex-wiki=/^=====[ \t]+(.+)[ \t]+=====$/. \1/h,header/
+--regex-wiki=/^======[ \t]+(.+)[ \t]+======$/. \1/h,header/
+--langdef=Go
+--langmap=Go:.go
+--regex-Go=/func([ \t]+\([^)]+\))?[ \t]+([a-zA-Z0-9_]+)/\2/f,func/
+--regex-Go=/var[ \t]+([a-zA-Z_][a-zA-Z0-9_]+)/\1/v,var/
+--regex-Go=/type[ \t]+([a-zA-Z_][a-zA-Z0-9_]+)/\1/t,type/