From f54c73b9ef15871c6a3215abf43d37ea3159f41b Mon Sep 17 00:00:00 2001 From: Henrik Lissner Date: Sun, 10 Jul 2016 02:52:43 -0400 Subject: [PATCH] ctags: add scala config --- ctags | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 ctags diff --git a/ctags b/ctags new file mode 100644 index 00000000..1e830434 --- /dev/null +++ b/ctags @@ -0,0 +1,11 @@ +-e +--langdef=scala +--langmap=scala:.scala +--regex-scala=/\bclass\s+(\w+)/\1/c,classes/ +--regex-scala=/\bobject\s+(\w+)/\1/c,objects/ +--regex-scala=/\btrait\s+(\w+)/\1/t,traits/ +--regex-scala=/\btype\s+(\w+)/\1/T,types/ +--regex-scala=/\bdef\s+(\w+)/\1/m,methods/ +--regex-scala=/\bval\s+(\w+)/\1/l,constants/ +--regex-scala=/\bvar\s+(\w+)/\1/l,variables/ +--regex-scala=/\bpackage\s+((\w|[.])+)/\1/p,packages/