view runtime/compiler/eslint.vim @ 30813:f4956427ee9e v9.0.0741

patch 9.0.0741: cannot specify an ID for each item with prop_add_list() Commit: https://github.com/vim/vim/commit/d93009eb35c88bfc38781fefdf42ebdb02c61474 Author: Bram Moolenaar <Bram@vim.org> Date: Thu Oct 13 14:35:24 2022 +0100 patch 9.0.0741: cannot specify an ID for each item with prop_add_list() Problem: Cannot specify an ID for each item with prop_add_list(). (Sergey Vlasov) Solution: Add an optional fifth number to the item. (closes #11360)
author Bram Moolenaar <Bram@vim.org>
date Thu, 13 Oct 2022 15: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%.%#