view runtime/compiler/eslint.vim @ 22300:528bb8e6e877 v8.2.1699

patch 8.2.1699: build failure due to missing error message Commit: https://github.com/vim/vim/commit/916911f598718bc76bc6b87ed703d2805fa49c53 Author: Bram Moolenaar <Bram@vim.org> Date: Wed Sep 16 21:41:53 2020 +0200 patch 8.2.1699: build failure due to missing error message Problem: Build failure due to missing error message. Solution: Add error message.
author Bram Moolenaar <Bram@vim.org>
date Wed, 16 Sep 2020 21:45:03 +0200
parents bbca88cd13d5
children e1df51f68736
line wrap: on
line source

" Vim compiler file
" Compiler:    ESLint for JavaScript
" Maintainer:  Romain Lafourcade <romainlafourcade@gmail.com>
" Last Change: 2020 August 20

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

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

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