- Install ctags-exuberant
brew install ctags
- add stuff as listed in http://leonard.io/blog/2013/04/editing-scala-with-vim/ to ~/.ctags
- Install gnu global
brew install global --with-exuberant-ctags
- add the following lines in bash
export GTAGSCONF=/usr/local/share/gtags/gtags.conf
export GTAGSLABEL=ctags
- edit gtags.conf, in the exuberant-ctags section, add following lines
:langmap=Scala\:.scala:\
:gtags_parser=Scala\:/usr/local/Cellar/global/6.4/lib/gtags/exuberant-ctags.la:\
- generate global manually
gtags
-
-
Save icetan/a4597c77485d0dc4bd43 to your computer and use it in GitHub Desktop.
Set up ctags and scala support with GNU Global/Gtags
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment