dartanalyser.vim 434 B

1234567891011121314151617181920
  1. " Vim compiler file
  2. " Compiler: Dart Analyzer
  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 = "dartanalyzer"
  9. let s:cpo_save = &cpo
  10. set cpo&vim
  11. CompilerSet makeprg=dartanalyzer\ --format\ machine
  12. CompilerSet errorformat=%t%\\w%\\+\|%\\w%\\+\|%\\w%\\+\|%f\|%l\|%c\|%\\d%\\+\|%m,
  13. \%-G%.%#
  14. let &cpo = s:cpo_save
  15. unlet s:cpo_save