onsgmls.vim 505 B

12345678910111213141516171819202122232425
  1. " Vim compiler file
  2. " Compiler: onsgmls
  3. " Maintainer: Robert Rowsome <rowsome@wam.umd.edu>
  4. " Last Change: 2019 Jul 23
  5. if exists("current_compiler")
  6. finish
  7. endif
  8. let current_compiler = "onsgmls"
  9. if exists(":CompilerSet") != 2 " older Vim always used :setlocal
  10. command -nargs=* CompilerSet setlocal <args>
  11. endif
  12. let s:cpo_save = &cpo
  13. set cpo-=C
  14. CompilerSet makeprg=onsgmls\ -s\ %:S
  15. CompilerSet errorformat=onsgmls:%f:%l:%c:%t:%m,
  16. \onsgmls:%f:%l:%c:%m
  17. let &cpo = s:cpo_save
  18. unlet s:cpo_save