view runtime/compiler/eslint.vim @ 24194:9f64c420f280 v8.2.2638

patch 8.2.2638: cannot write a message to the terminal from the GUI Commit: https://github.com/vim/vim/commit/4c86830fc578bcb47a51cf0983da5388cdbfe6cc Author: Bram Moolenaar <Bram@vim.org> Date: Mon Mar 22 16:19:45 2021 +0100 patch 8.2.2638: cannot write a message to the terminal from the GUI Problem: Cannot write a message to the terminal from the GUI. Solution: Add :echoconsole and use it in the test runner. (issue https://github.com/vim/vim/issues/7975)
author Bram Moolenaar <Bram@vim.org>
date Mon, 22 Mar 2021 16:30:04 +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%.%#