icon.vim 717 B

123456789101112131415161718192021222324252627282930
  1. " Vim compiler file
  2. " Compiler: Icon Compiler
  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 = "icont"
  9. let s:cpo_save = &cpo
  10. set cpo&vim
  11. CompilerSet makeprg=icont\ -s
  12. CompilerSet errorformat=%-G%\\d%\\+\ errors%\\=,
  13. \%ERun-time\ error\ %n,
  14. \%ERun-time\ error\ %n\ in\ %m,
  15. \%ZTraceback:,
  16. \%+Coffending\ value:\ %.%#,
  17. \%CFile\ %f;\ Line\ %l,
  18. \%EFile\ %f;\ Line\ %l\ #\ %m,
  19. \%EFile\ %f;\ %m,
  20. \%E%f:%l:\ #\ %m,
  21. \%E%f:\ %m,
  22. \%+C%.%#,
  23. \%-G%.%#
  24. let &cpo = s:cpo_save
  25. unlet s:cpo_save