" Description: local HTML5 file validator.nu link up
" Maintainer: Kai Hendry http://hendry.iki.fi/
" URL: http://svn.natalian.org/projects/html5/
" Last Change: $Id$
"
" Place this file as ~/.vim/ftplugin/html.vim
" Ensure you have filetype plugin on in your ~/.vimrc
" See mine: http://git.webconverger.org/?p=home.git;a=blob;f=.vimrc
"
" Whilst editing HTML run :make then :cope or :clist to debug
"
" References:
" http://wiki.whatwg.org/wiki/Validator.nu_GNU_Output
" http://wiki.whatwg.org/wiki/Validator.nu_Common_Input_Parameters
set makeprg=validate-html.sh\ %
set errorformat=%f:%l.%c-%m
" BUGS:
" http://groups.google.com/group/vim_dev/browse_thread/thread/e795711aa3c3efcb
" can errorformat can handle end line numbers et al. ? a visual selection?
"
" could be done as one line in the ~/.vimrc instead of a seperate plugin
" could be detected instead of relying on the html filetype
" somehow integrate http://code.google.com/doctype/ or MDC?