tidy.vim 490 B

1234567891011121314151617181920212223
  1. " Vim compiler file
  2. " Compiler: HTML Tidy
  3. " Maintainer: Doug Kearns <dougkearns@gmail.com>
  4. " Last Change: 2024 Apr 03
  5. if exists("current_compiler")
  6. finish
  7. endif
  8. let current_compiler = "tidy"
  9. let s:cpo_save = &cpo
  10. set cpo&vim
  11. CompilerSet makeprg=tidy\ -quiet\ -errors\ --gnu-emacs\ yes
  12. CompilerSet errorformat=%f:%l:%c:\ %trror:\ %m,
  13. \%f:%l:%c:\ %tarning:\ %m,
  14. \%f:%l:%c:\ %tnfo:\ %m,
  15. \%f:%l:%c:\ %m,
  16. \%-G%.%#
  17. let &cpo = s:cpo_save
  18. unlet s:cpo_save