vim-htmlvalidator
vim-htmlvalidator copied to clipboard
This is a Vim HTML compiler for validating against http://validator.nu.
This is a Vim compiler plugin for validating HTML via validator.nu.
Preview
Screenshot:
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+