This is a Vim compiler plugin for validating HTML via validator.nu.
Screenshot:
- Vim
- curl
- sed
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
Type :make. If there are errors, then type :cwindow or :clist if you have not set up the QuickFix window to open automatically.
GPLv2+