view runtime/compiler/tidy.vim @ 23569:754387a3aa35 v8.2.2327

patch 8.2.2327: debugging code included Commit: https://github.com/vim/vim/commit/16a6f91ccb42ebde639a4185322b07719d345e86 Author: Bram Moolenaar <Bram@vim.org> Date: Sun Jan 10 23:58:28 2021 +0100 patch 8.2.2327: debugging code included Problem: Debugging code included. Solution: Remove the debugging code.
author Bram Moolenaar <Bram@vim.org>
date Mon, 11 Jan 2021 00:00:04 +0100
parents 34c45ee4210d
children 34b4eb3a8458
line wrap: on
line source

" Vim compiler file
" Compiler:	HTML Tidy
" Maintainer:	Doug Kearns <dougkearns@gmail.com>
" Last Change:	2016 Apr 21

if exists("current_compiler")
  finish
endif
let current_compiler = "tidy"

if exists(":CompilerSet") != 2		" older Vim always used :setlocal
  command -nargs=* CompilerSet setlocal <args>
endif

CompilerSet makeprg=tidy\ -quiet\ -errors\ --gnu-emacs\ yes\ %:S

" foo.html:8:1: Warning: inserting missing 'foobar' element
" foo.html:9:2: Error: <foobar> is not recognized!
CompilerSet errorformat=%f:%l:%c:\ %trror:%m,%f:%l:%c:\ %tarning:%m,%-G%.%#