summaryrefslogtreecommitdiffstats
path: root/runtime/compiler/standard.vim
blob: 50b7c97ca772e98d07439f5f06003b8da6725461 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
" Vim compiler file
" Compiler:    Standard for JavaScript
" Maintainer:  Romain Lafourcade <romainlafourcade@gmail.com>
" Last Change: 2020 August 20

if exists("current_compiler")
  finish
endif
let current_compiler = "standard"

if exists(":CompilerSet") != 2
  command -nargs=* CompilerSet setlocal <args>
endif

CompilerSet makeprg=npx\ standard
CompilerSet errorformat=%f:%l:%c:\ %m,%-G%.%#