summaryrefslogtreecommitdiffstats
path: root/runtime/compiler
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2020-08-30 17:20:20 +0200
committerBram Moolenaar <Bram@vim.org>2020-08-30 17:20:20 +0200
commit207f009326c8f878defde0e594d7d9ed9860106e (patch)
treeef2dbeb3f5069321b3a5e80183034e6c16c043d4 /runtime/compiler
parent0b39c3fd4c5d1c8ebd2efa85fced7df5e17efd3b (diff)
Update runtime files.
Diffstat (limited to 'runtime/compiler')
-rw-r--r--runtime/compiler/eslint.vim4
-rw-r--r--runtime/compiler/standard.vim6
2 files changed, 5 insertions, 5 deletions
diff --git a/runtime/compiler/eslint.vim b/runtime/compiler/eslint.vim
index 1e7af2b182..7d57acbdf4 100644
--- a/runtime/compiler/eslint.vim
+++ b/runtime/compiler/eslint.vim
@@ -1,7 +1,7 @@
" Vim compiler file
" Compiler: ESLint for JavaScript
" Maintainer: Romain Lafourcade <romainlafourcade@gmail.com>
-" Last Change: 2020 May 17
+" Last Change: 2020 August 20
if exists("current_compiler")
finish
@@ -12,5 +12,5 @@ if exists(":CompilerSet") != 2
command -nargs=* CompilerSet setlocal <args>
endif
-CompilerSet makeprg=eslint\ --format\ compact
+CompilerSet makeprg=npx\ eslint\ --format\ compact
CompilerSet errorformat=%f:\ line\ %l\\,\ col\ %c\\,\ %m,%-G%.%#
diff --git a/runtime/compiler/standard.vim b/runtime/compiler/standard.vim
index b6bcf1f6b0..50b7c97ca7 100644
--- a/runtime/compiler/standard.vim
+++ b/runtime/compiler/standard.vim
@@ -1,7 +1,7 @@
" Vim compiler file
" Compiler: Standard for JavaScript
" Maintainer: Romain Lafourcade <romainlafourcade@gmail.com>
-" Last Change: 2020 May 17
+" Last Change: 2020 August 20
if exists("current_compiler")
finish
@@ -12,5 +12,5 @@ if exists(":CompilerSet") != 2
command -nargs=* CompilerSet setlocal <args>
endif
-CompilerSet makeprg=standard
-CompilerSet errorformat=%f:\ line\ %l\\,\ col\ %c\\,\ %m,%-G%.%#
+CompilerSet makeprg=npx\ standard
+CompilerSet errorformat=%f:%l:%c:\ %m,%-G%.%#