view runtime/compiler/eslint.vim @ 26869:659e30d7eeb7 v8.2.3963

patch 8.2.3963: build failure with tiny and small features Commit: https://github.com/vim/vim/commit/096ca73dacd748a65d080197b842eef6f4423096 Author: Bram Moolenaar <Bram@vim.org> Date: Sat Jan 1 00:55:28 2022 +0000 patch 8.2.3963: build failure with tiny and small features Problem: Build failure with tiny and small features. (Tony Mechelynck) Solution: Adjust #ifdefs.
author Bram Moolenaar <Bram@vim.org>
date Sat, 01 Jan 2022 02:00:03 +0100
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%.%#