Mercurial > vim
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 |
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%.%# |