vim

Fork of vim, an acceptable text editor
git clone git://git.laack.co/vim.git
Log | Files | Refs | README | LICENSE

xmllint.vim (534B)


      1 " Vim compiler file
      2 " Compiler:	Libxml2 Command-Line Tool
      3 " Maintainer:	Doug Kearns <dougkearns@gmail.com>
      4 " Last Change:	2024 Apr 03
      5 
      6 if exists("current_compiler")
      7   finish
      8 endif
      9 let current_compiler = "xmllint"
     10 
     11 let s:cpo_save = &cpo
     12 set cpo&vim
     13 
     14 CompilerSet makeprg=xmllint\ --valid\ --noout
     15 CompilerSet errorformat=%E%f:%l:\ %.%#\ error\ :\ %m,
     16 		       \%W%f:%l:\ %.%#\ warning\ :\ %m,
     17 		       \%-Z%p^,
     18 		       \%C%.%#,
     19 		       \%terror:\ %m,
     20 		       \%tarning:\ %m,
     21 		       \%-G%.%#
     22 
     23 let &cpo = s:cpo_save
     24 unlet s:cpo_save