summaryrefslogtreecommitdiffstats
path: root/runtime/compiler/eslint.vim
blob: db7a665991e610b28312b2d289b909f28e77d803 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
" Vim compiler file
" Compiler:    ESLint for JavaScript
" Maintainer:  Romain Lafourcade <romainlafourcade@gmail.com>
" Last Change: 2020 August 20
"	       2024 Apr 03 by The Vim Project (removed :CompilerSet definition)

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

CompilerSet makeprg=npx\ eslint\ --format\ compact
CompilerSet errorformat=%f:\ line\ %l\\,\ col\ %c\\,\ %m,%-G%.%#