This plugin is a collection of useful features for working in the Groovy language.
Note: This plugin is in the idea stages, and is a work in progress. If you have ideas for things you'd like to see included, drop me a line or create an issue here on GitHub.
- Syntax highlighting (adapt from groovy.vim)
- Proper indentation (adapt from groovyindent-unix)
- Tab completion, which would incidentally be great for Java development also
Perhaps the GroovyShell class could be leveraged with its tab-completion built in. The Vim plugin could call out to an externally running Groovy process listening on a socket, and get back a list of tab-complete candidates.
As an example of how this could work, this gist shows retrieving JSON from an API and loading the results into a tab-complete box:
The indent/groovy.vim code was largely taken from vim.org script #5257 and vim-scripts/groovyindent-unix.