Mercurial > vim
annotate runtime/compiler/tidy.vim @ 5351:923738744a60 v7.4.028
updated for version 7.4.028
Problem: Equivalence classes are not working for multi-byte characters.
Solution: Copy the rules from the old to the new regexp engine. Add a test
to check both engines.
author | Bram Moolenaar <bram@vim.org> |
---|---|
date | Thu, 19 Sep 2013 17:00:20 +0200 |
parents | f7add3891e95 |
children | 34c45ee4210d |
rev | line source |
---|---|
7 | 1 " Vim compiler file |
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 | 5 |
6 if exists("current_compiler") | |
7 finish | |
8 endif | |
9 let current_compiler = "tidy" | |
10 | |
11 if exists(":CompilerSet") != 2 " older Vim always used :setlocal | |
12 command -nargs=* CompilerSet setlocal <args> | |
13 endif | |
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 | 16 |
17 " sample warning: foo.html:8:1: Warning: inserting missing 'foobar' element | |
18 " sample error: foo.html:9:2: Error: <foobar> is not recognized! | |
19 CompilerSet errorformat=%f:%l:%c:\ Error:%m,%f:%l:%c:\ Warning:%m,%-G%.%# |