Add more languages to ctags
Created by: chrismwendt
universal-ctags doesn't support some popular languages by default, such as Scala, Swift, and Haskell.
But, it turns out you can add language support by passing some regexes on the command line or via config file. Language regex sources:
- TypeScript https://github.com/jb55/typescript-ctags/blob/master/.ctags
- Scala https://github.com/derekwyatt/vim-scala/blob/master/ctags/scala.ctags
- Swift https://github.com/keith/swift.vim/blob/master/ctags/swift.cnf
- Kotlin https://gist.github.com/kittinunf/25484de6294a0c4263c86dda3aa1580c
- Elixir https://github.com/mmorearty/elixir-ctags/blob/master/.ctags
- Haskell https://github.com/travisjeffery/dotfiles/blob/master/.ctags#L44-L50
This also drops the --map-JavaScript:+.ts
that was causing an inaccurate definition in https://github.com/sourcegraph/sourcegraph/issues/2136
Fixes https://github.com/sourcegraph/sourcegraph/issues/2136