Skip to content

Commit

Permalink
Merge pull request #2 from bhalash/master
Browse files Browse the repository at this point in the history
Updated Plugin
  • Loading branch information
sorin-ionescu committed Nov 27, 2015
2 parents e954e86 + a1ce768 commit ca841d3
Showing 1 changed file with 4 additions and 7 deletions.
11 changes: 4 additions & 7 deletions compiler/html.vim
@@ -1,8 +1,9 @@
" Vim compiler file for HTML.
" Compiler: HTML Validator
" Maintainer: Sorin Ionescu <sorin.ionescu@gmail.com>
" Last Change: 2010-12-04
" Version: 1.0.0
" Maintainer: Mark Grealish <mark@bhalash.com>
" Last Change: 2015-11-27
" Version: 2.0.0
"
" Installation:
" Drop html.vim in ~/.vim/compiler directory.
Expand All @@ -23,12 +24,8 @@ endif
let s:cpo_save = &cpo
set cpo-=C

"CompilerSet makeprg=(echo\ '[%]';\ curl\ -s\ --connect-timeout\ 5\ -F\ laxtype=yes\ -F\ level=error\ -F\ out=gnu\ -F\ doc=@%\ http://validator.nu\ \\\|\ sed\ -e\ \'s/^\"[^\"]*\"://g\'\ -e\ \'s/^\\([0-9]*\\)\\.\\([0-9]*\\)-[0-9]*\\.[0-9]*:/(\\1,\\2)/g\')
"set efm=%+P[%f],(%l\\,%c)%*[\ ]%t%*[^:]:\ %m,%-Q

CompilerSet makeprg=(echo\ '[%]';\ curl\ -s\ --connect-timeout\ 5\ -F\ laxtype=yes\ -F\ level=error\ -F\ out=gnu\ -F\ doc=@%\ http://validator.nu\ \\\|\ sed\ -e\ \'s/^\"[^\"]*\"://g\'\ -e\ \'s/^\\([0-9]*\\.[0-9]*\\)-[0-9]*\\.[0-9]*/\\1/g\')
CompilerSet makeprg=(echo\ '[%]';\ curl\ -s\ --connect-timeout\ 5\ -F\ laxtype=yes\ -F\ level=error\ -F\ out=gnu\ -F\ doc=@%\ https://validator.nu\ \\\|\ sed\ -e\ \'s/^\"[^\"]*\"://g\'\ -e\ \'s/^\\([0-9]*\\.[0-9]*\\)-[0-9]*\\.[0-9]*/\\1/g\')
CompilerSet errorformat=%+P[%f],%l.%c:\ %t%*[^:]:\ %m,%-Q

let &cpo = s:cpo_save
unlet s:cpo_save

0 comments on commit ca841d3

Please sign in to comment.