Vim plugin of fdlint
Switch branches/tags
Nothing to show
Clone or download
Latest commit b90af84 Oct 16, 2012
Permalink
Failed to load latest commit information.
plugin/fdlint update core Oct 10, 2012
.gitmodules update core url Jan 31, 2012
deploy.rb bugfix for ruby1.8 Jan 31, 2012
readme.md Update readme.md Oct 16, 2012

readme.md

FDLint as vim plugin

This is the vim plugin for fdlint which helps web developers write better code by reading and reviewing codes.

preview

reviewing

install

git clone git://github.com/qhwa/fdlint-vim.git
cd fdlint-vim

git submodule init
git submodule update

#copy plugin to your $VIM_RUNTIME/ (commonly '~/.vim')
VIM_RUNTIME=~/.vim
cp -a plugin/* $VIM_RUNTIME/plugin/

usage

It will check your code everytime you open and save a css or html file.

fdlint.vim will review your code when...

  • every time you edit CSS/HTML file
  • you open CSS/HTML file
  • you called :FDLint command in a CSS/HTML/JS buffer

You may want to bind a hotkey to :FDLint. It is <leader>+fd by default.

Thanks

This vim script is built base on the awesome jslint.vim vim plugin, which is available here: https://github.com/hallettj/jslint.vim