Skip to content

thecodesmith/vim-groovy

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

vim-groovy

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.

Future Features

  • Syntax highlighting (adapt from groovy.vim)
  • Proper indentation (adapt from groovyindent-unix)
  • Tab completion, which would incidentally be great for Java development also

Tab Completion Ideas

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:

junegunn/vimawesome.vim

Acknowledgements

The indent/groovy.vim code was largely taken from vim.org script #5257 and vim-scripts/groovyindent-unix.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published