Giter Club home page Giter Club logo

vim-gradle's Introduction

vim-gradle

The purpose of this project is to maintain missing Gradle capabilities in Vim. Particularly:

  • File extension recognition
  • Syntax highlighting
  • Folding
  • Ctags support for Tagbar plugin

Additionally, some missing Groovy features are provided as well:

  • Folding for Groovy files
  • Groovy Ctags support for Tagbar plugin

Installation

Vim Pathogen Plugin

If you are using Vim Pathogen plugin, then the installation is simple and straightforward:

#!shell
cd ~/.vim/bundle
hg clone https://bitbucket.org/sw-samuraj/vim-gradle

Classic Vim Layout

If you prefer the traditional Vim layout, you can copy all the directories to your $VIM_HOME:

#!shell
cp -r after compiler ctags ftdetect ftplugin syntax ~/.vim

Through the Gradle

Your interest in the vim-gradle plugin probably means that you have Gradle already installed. Then you can run either

#!shell
gradle installBundle

for Pathogen-like installation, or

#!shell
gradle installVimball

for classic-like installation.

Uninstallation

Vim Pathogen Plugin

#!shell
rm -rf ~/.vim/bundle/vim-gradle

Classic Vim Layout

#!shell
cd ~/.vim
rm -rf syntax/gradle.vim ftdetect/gradle.vim compiler/gradle.vim after/syntax/groovy.vim

Through the Gradle

If you have Gradle already installed, then you can uninstall vim-gradle by

#!shell
gradle uninstallBundle

for the Pathogen bundle, or

#!shell
gradle uninstallVimball

for the classic layout.

TODO

  • Add Vim documentation (available through :help command).
  • Add :gradle command for running Gradle tasks.
  • Improve Ctags mapping for Gradle and Groovy files.

Contribution guidelines

I'll be happy with any participation or feedback. Please, feel free to:

  • fork the project
  • send me a pull request
  • track a bug, or an enhancement
  • or anything else what can improve this plugin.

License

The vim-gradle plugin is published under BSD 3-Clause license.

vim-gradle's People

Contributors

ches avatar davewongillies avatar sw-samuraj avatar

Watchers

 avatar  avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.