This is a Vim HTML compiler for validating against http://validator.nu.
Vim script
Switch branches/tags
Nothing to show
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
compiler
README.md

README.md

This is a Vim compiler plugin for validating HTML via validator.nu.

Preview

Screenshot:

vim-htmlvalidator

Requirements

  • Vim
  • curl
  • sed

Installation

Place html.vim into ~/.vim/compiler or clone this repository into the Pathogen ~/.vim/bundles directory.

If you wish to always associate HTML with this compiler, add the following line to the ~/.vimrc file.

au FileType html compiler html

If you wish to automatically open the QuickFix window, add the following line to the ~/.vimrc file.

au QuickFixCmdPost make cwindow

Usage

Type :make. If there are errors, then type :cwindow or :clist if you have not set up the QuickFix window to open automatically.

License

GPLv2+