standard.vim 397 B

1234567891011121314151617
  1. " Vim compiler file
  2. " Compiler: Standard for JavaScript
  3. " Maintainer: Romain Lafourcade <romainlafourcade@gmail.com>
  4. " Last Change: 2020 August 20
  5. if exists("current_compiler")
  6. finish
  7. endif
  8. let current_compiler = "standard"
  9. if exists(":CompilerSet") != 2
  10. command -nargs=* CompilerSet setlocal <args>
  11. endif
  12. CompilerSet makeprg=npx\ standard
  13. CompilerSet errorformat=%f:%l:%c:\ %m,%-G%.%#