annotate runtime/compiler/tidy.vim @ 8625:d98fbc8dca8e v7.4.1602

commit https://github.com/vim/vim/commit/cff572abb922d49455b01484e99b98c371fa4560 Author: Bram Moolenaar <Bram@vim.org> Date: Sat Mar 19 16:24:14 2016 +0100 patch 7.4.1602 Problem: Info files take space in the top directory. Solution: Move them to "READMEdir".
author Christian Brabandt <cb@256bit.org>
date Sat, 19 Mar 2016 16:30:04 +0100
parents f7add3891e95
children 34c45ee4210d
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1 " Vim compiler file
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
2 " Compiler: HTML Tidy
5161
f7add3891e95 Updated runtime files. Fix NL translations.
Bram Moolenaar <bram@vim.org>
parents: 36
diff changeset
3 " Maintainer: Doug Kearns <dougkearns@gmail.com>
f7add3891e95 Updated runtime files. Fix NL translations.
Bram Moolenaar <bram@vim.org>
parents: 36
diff changeset
4 " Last Change: 2013 Jul 7
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
5
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
6 if exists("current_compiler")
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
7 finish
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
8 endif
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
9 let current_compiler = "tidy"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
10
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
11 if exists(":CompilerSet") != 2 " older Vim always used :setlocal
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
12 command -nargs=* CompilerSet setlocal <args>
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
13 endif
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
14
5161
f7add3891e95 Updated runtime files. Fix NL translations.
Bram Moolenaar <bram@vim.org>
parents: 36
diff changeset
15 CompilerSet makeprg=tidy\ -quiet\ -errors\ --gnu-emacs\ yes\ %
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
16
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
17 " sample warning: foo.html:8:1: Warning: inserting missing 'foobar' element
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
18 " sample error: foo.html:9:2: Error: <foobar> is not recognized!
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
19 CompilerSet errorformat=%f:%l:%c:\ Error:%m,%f:%l:%c:\ Warning:%m,%-G%.%#