Giter Site home page Giter Site logo

vim-eastwood's Introduction

vim-eastwood

vim-eastwood is a vim plugin for Eastwood, the Clojure lint tool. Rather than shelling out to Leiningen, it uses a vim-fireplace REPL connection to only lint the current file. This has the advantage of sidestepping Leiningen's startup time and keeping Vim from hanging, though the very first time you use it with a given REPL server there will be a slight delay as it loads the eastwood.lint namespace.

You should be aware of the side effects of using Eastwood from a REPL.

It extends Syntastic's checkers, so you'll see those familiar markers in your UI:

Installation

Requirements

You'll want to have Eastwood, vim-fireplace and Syntastic installed, and you'll need to make sure Eastwood is somewhere on your project's classpath. I'd recommend adding the following to your ~/.lein/profiles.clj:

:dependencies [[jonase/eastwood "0.2.1" :exclusions [org.clojure/clojure]]]

In order for Syntastic to actually lint the file you're working on, you'll also need to have a REPL connection open through fireplace.

After that, the rest should take care of itself.

Installing with Pathogen

Assuming you already have Pathogen installed, you should be good to go with the following:

cd ~/.vim/bundle && \
git clone https://github.com/venantius/vim-eastwood.git

Installing with Vundle

To install vim-eastwood with Vundle, add the following line to your .vimrc:

Bundle 'venantius/vim-eastwood'

Other Vim + Clojure Plugins

If you like this, you should check out vim-cljfmt!

License

Copyright (c) 2015 W. David Jarvis.

Licensed under the Eclipse Public License, the same as Clojure.

vim-eastwood's People

Contributors

mluts avatar venantius avatar

Watchers

 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.