Skip to content

Simple little vim-bundle that recognizes .gradle files as being groovy syntax

Notifications You must be signed in to change notification settings

tfnico/vim-gradle

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 

Repository files navigation

VIM-GRADLE

This vim bundle simply recognizes .gradle files as being groovy syntax. It also adds a vim compiler plugin for gradle.

Installation

  • Install pathogen into ~/.vim/autoload/ and add the following line to your ~/.vimrc:

      call pathogen#infect()
    
  • Make a clone of the vim-gradle repository:

      mkdir -p ~/.vim/bundle
      cd ~/.vim/bundle
      git clone https://github.com/tfnico/vim-gradle
    
  • OR use git submodules:

      git submodule add https://github.com/tfnico/vim-gradle.git bundle/vim-gradle
      git submodule init
    

Of course, if you use Janus, you should put the clone in ~/.janus/ instead.

That's it. Pathogen should handle the rest.

Usage

Syntax Highlighting

.gradle files will now have groovy syntax highlighting.

Compiler Plugin

You can now use :compiler gradle to set gradle as the compiler. :make build will then run gradle build (for example) and the quickfix window will be loaded with parsed error results.

Credits

Inspiration from vim-less.

About

Simple little vim-bundle that recognizes .gradle files as being groovy syntax

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published