view runtime/compiler/tidy.vim @ 22464:b74bdd85bb26 v8.2.1780

patch 8.2.1780: statusline not updated when splitting windows Commit: https://github.com/vim/vim/commit/668008be66326ed9e5b1122abede34ed3d2de2d8 Author: Bram Moolenaar <Bram@vim.org> Date: Thu Oct 1 19:06:35 2020 +0200 patch 8.2.1780: statusline not updated when splitting windows Problem: Statusline not updated when splitting windows. Solution: Call status_redraw_all(). (Jason Franklin, closes https://github.com/vim/vim/issues/5496)
author Bram Moolenaar <Bram@vim.org>
date Thu, 01 Oct 2020 19:15:03 +0200
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%.%#