Permalink
Find file
Fetching contributors…
Cannot retrieve contributors at this time
40 lines (23 sloc) 948 Bytes

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+