diff options
Diffstat (limited to 'runtime/compiler')
-rw-r--r-- | runtime/compiler/eslint.vim | 4 | ||||
-rw-r--r-- | runtime/compiler/standard.vim | 6 |
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%.%# |