view runtime/compiler/tidy.vim @ 27718:3c71a65a389a v8.2.4385

patch 8.2.4385: cannot build tiny version Commit: https://github.com/vim/vim/commit/b5d2039e000e0787a04208928ad49e105529e36b Author: Bram Moolenaar <Bram@vim.org> Date: Mon Feb 14 21:42:15 2022 +0000 patch 8.2.4385: cannot build tiny version Problem: Cannot build tiny version. Solution: Adjust #ifdefs.
author Bram Moolenaar <Bram@vim.org>
date Mon, 14 Feb 2022 22:45:03 +0100
parents 34b4eb3a8458
children e1df51f68736
line wrap: on
line source

" Vim compiler file
" Compiler:	HTML Tidy
" Maintainer:	Doug Kearns <dougkearns@gmail.com>
" Last Change:	2020 Sep 4

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

let s:cpo_save = &cpo
set cpo&vim

CompilerSet makeprg=tidy\ -quiet\ -errors\ --gnu-emacs\ yes
CompilerSet errorformat=%f:%l:%c:\ %trror:\ %m,
		       \%f:%l:%c:\ %tarning:\ %m,
		       \%f:%l:%c:\ %tnfo:\ %m,
		       \%f:%l:%c:\ %m,
		       \%-G%.%#

let &cpo = s:cpo_save
unlet s:cpo_save