From a681b5eaca215448522973c95e8f751f1b586ea2 Mon Sep 17 00:00:00 2001 From: Christian Clason Date: Wed, 9 Mar 2022 08:40:16 +0100 Subject: vim-patch:partial 1588bc8ebee2 (#17656) Update runtime files https://github.com/vim/vim/commit/1588bc8ebee22f2855f27273fc2234fff370f86c omit: doc updates --- runtime/compiler/jest.vim | 8 +++++--- runtime/compiler/sml.vim | 8 ++++---- 2 files changed, 9 insertions(+), 7 deletions(-) (limited to 'runtime/compiler') diff --git a/runtime/compiler/jest.vim b/runtime/compiler/jest.vim index fee70b7c55..a4bb549de1 100644 --- a/runtime/compiler/jest.vim +++ b/runtime/compiler/jest.vim @@ -1,7 +1,7 @@ " Vim compiler file " Compiler: Jest " Maintainer: Doug Kearns -" Last Change: 2018 May 15 +" Last Change: 2021 Nov 20 if exists("current_compiler") finish @@ -15,12 +15,14 @@ endif let s:cpo_save = &cpo set cpo&vim -" CompilerSet makeprg=npx\ jest\ --no-colors +" CompilerSet makeprg=npx\ --no-install\ jest\ --no-colors CompilerSet makeprg=jest\ --no-colors -CompilerSet errorformat=%E\ \ ●\ %m, +CompilerSet errorformat=%-A\ \ ●\ Console, + \%E\ \ ●\ %m, \%Z\ %\\{4}%.%#Error:\ %f:\ %m\ (%l:%c):%\\=, \%Z\ %\\{6}at\ %\\S%#\ (%f:%l:%c), + \%Z\ %\\{6}at\ %\\S%#\ %f:%l:%c, \%+C\ %\\{4}%\\w%.%#, \%+C\ %\\{4}%[-+]%.%#, \%-C%.%#, diff --git a/runtime/compiler/sml.vim b/runtime/compiler/sml.vim index c7e1b1bf16..a0b13b6c8a 100644 --- a/runtime/compiler/sml.vim +++ b/runtime/compiler/sml.vim @@ -1,7 +1,7 @@ " Vim compiler file " Compiler: SML/NJ Compiler " Maintainer: Doug Kearns -" Last Change: 2020 Feb 10 +" Last Change: 2022 Feb 09 if exists("current_compiler") finish @@ -16,10 +16,10 @@ let s:cpo_save = &cpo set cpo&vim CompilerSet makeprg=sml -CompilerSet errorformat=%f:%l.%c-%\\d%\\+.%\\d%\\+\ %trror:\ %m, +CompilerSet errorformat=%f:%l.%c-%e.%k\ %trror:\ %m, \%f:%l.%c\ %trror:\ %m, - \%trror:\ %m - \%f:%l.%c-%\\d%\\+.%\\d%\\+\ %tarning:\ %m, + \%trror:\ %m, + \%f:%l.%c-%e.%k\ %tarning:\ %m, \%f:%l.%c\ %tarning:\ %m, \%tarning:\ %m, \%-G%.%# -- cgit From eb4b337d9eb8bf15cf0b832f46ea9cff14d6adce Mon Sep 17 00:00:00 2001 From: Christian Clason Date: Fri, 13 May 2022 15:20:58 +0200 Subject: vim-patch:partial:3f32a5f1601a (#18555) Update runtime files and translations https://github.com/vim/vim/commit/3f32a5f1601ab2b0eba0caad00d4c26fb86a02a2 skip eval.txt (requires 8.2.4883) --- runtime/compiler/scdoc.vim | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'runtime/compiler') diff --git a/runtime/compiler/scdoc.vim b/runtime/compiler/scdoc.vim index 2f6edc6322..c37969f89c 100644 --- a/runtime/compiler/scdoc.vim +++ b/runtime/compiler/scdoc.vim @@ -1,7 +1,8 @@ " scdoc compiler for Vim " Compiler: scdoc -" Maintainer: Greg Anders +" Maintainer: Gregory Anders " Last Updated: 2019-10-24 +" Upstream: https://github.com/gpanders/vim-scdoc if exists('current_compiler') finish -- cgit From 504d7decbdef55d58e62217a0a54cbee2a0944cc Mon Sep 17 00:00:00 2001 From: Christian Clason Date: Wed, 15 Jun 2022 09:20:32 +0200 Subject: vim-patch:8c1b8cb2e0b5 (#18966) Update runtime files https://github.com/vim/vim/commit/8c1b8cb2e0b52d0853f85c2096a2f22dbc57a788 --- runtime/compiler/perl.vim | 18 +++++++++++------- runtime/compiler/perlcritic.vim | 27 +++++++++++++++++++++++++++ runtime/compiler/podchecker.vim | 28 ++++++++++++++++++++++++++++ 3 files changed, 66 insertions(+), 7 deletions(-) create mode 100644 runtime/compiler/perlcritic.vim create mode 100644 runtime/compiler/podchecker.vim (limited to 'runtime/compiler') diff --git a/runtime/compiler/perl.vim b/runtime/compiler/perl.vim index a857caed8f..21e384fb85 100644 --- a/runtime/compiler/perl.vim +++ b/runtime/compiler/perl.vim @@ -1,7 +1,11 @@ -" Vim Compiler File -" Compiler: Perl syntax checks (perl -Wc) -" Maintainer: Christian J. Robinson -" Last Change: 2019 Jul 22 +" Vim compiler file +" Compiler: Perl syntax checks (perl -Wc) +" Maintainer: vim-perl +" Author: Christian J. Robinson +" Homepage: https://github.com/vim-perl/vim-perl +" Bugs/requests: https://github.com/vim-perl/vim-perl/issues +" License: Vim License (see :help license) +" Last Change: 2021 Nov 2 if exists("current_compiler") finish @@ -15,10 +19,10 @@ endif let s:savecpo = &cpo set cpo&vim -if exists('g:perl_compiler_force_warnings') && g:perl_compiler_force_warnings == 0 - let s:warnopt = 'w' -else +if get(g:, 'perl_compiler_force_warnings', 1) let s:warnopt = 'W' +else + let s:warnopt = 'w' endif if getline(1) =~# '-[^ ]*T' diff --git a/runtime/compiler/perlcritic.vim b/runtime/compiler/perlcritic.vim new file mode 100644 index 0000000000..cf0678eeb2 --- /dev/null +++ b/runtime/compiler/perlcritic.vim @@ -0,0 +1,27 @@ +" Vim compiler file +" Compiler: perlcritic +" Maintainer: vim-perl +" Author: Doug Kearns +" Homepage: https://github.com/vim-perl/vim-perl +" Bugs/requests: https://github.com/vim-perl/vim-perl/issues +" License: Vim License (see :help license) +" Last Change: 2021 Oct 20 + +if exists("current_compiler") + finish +endif +let current_compiler = "perlcritic" + +if exists(":CompilerSet") != 2 " older Vim always used :setlocal + command -nargs=* CompilerSet setlocal +endif + +let s:cpo_save = &cpo +set cpo&vim + +CompilerSet makeprg=perlcritic\ --nocolor\ --quiet\ --verbose\ \"\\%f:\\%l:\\%c:\\%s:\\%m\\n\" +CompilerSet errorformat=%f:%l:%c:%n:%m, + \%-G%.%# + +let &cpo = s:cpo_save +unlet s:cpo_save diff --git a/runtime/compiler/podchecker.vim b/runtime/compiler/podchecker.vim new file mode 100644 index 0000000000..2cd4e13660 --- /dev/null +++ b/runtime/compiler/podchecker.vim @@ -0,0 +1,28 @@ +" Vim compiler file +" Compiler: podchecker +" Maintainer: vim-perl +" Author: Doug Kearns +" Homepage: https://github.com/vim-perl/vim-perl +" Bugs/requests: https://github.com/vim-perl/vim-perl/issues +" License: Vim License (see :help license) +" Last Change: 2021 Oct 20 + +if exists("current_compiler") + finish +endif +let current_compiler = "podchecker" + +if exists(":CompilerSet") != 2 " older Vim always used :setlocal + command -nargs=* CompilerSet setlocal +endif + +let s:cpo_save = &cpo +set cpo&vim + +CompilerSet makeprg=podchecker\ -w +CompilerSet errorformat=\*\*\*\ %tRROR:\ %m\ at\ line\ %l\ in\ file\ %f, + \\*\*\*\ %tARNING:\ %m\ at\ line\ %l\ in\ file\ %f, + \%-G%.%# + +let &cpo = s:cpo_save +unlet s:cpo_save -- cgit From e651ae5864503d219134c7c0124bff6bd9a663f7 Mon Sep 17 00:00:00 2001 From: Christian Clason Date: Fri, 17 Jun 2022 20:38:21 +0200 Subject: vim-patch:d592deb33652 (#19002) Update runtime files https://github.com/vim/vim/commit/d592deb336523a5448779ee3d4bba80334cff1f7 --- runtime/compiler/icon.vim | 33 +++++++++++++++++++++++++++++++++ 1 file changed, 33 insertions(+) create mode 100644 runtime/compiler/icon.vim (limited to 'runtime/compiler') diff --git a/runtime/compiler/icon.vim b/runtime/compiler/icon.vim new file mode 100644 index 0000000000..40f67930f7 --- /dev/null +++ b/runtime/compiler/icon.vim @@ -0,0 +1,33 @@ +" Vim compiler file +" Compiler: Icon Compiler +" Maintainer: Doug Kearns +" Last Change: 2022 Jun 16 + +if exists("current_compiler") + finish +endif +let current_compiler = "icont" + +if exists(":CompilerSet") != 2 " older Vim always used :setlocal + command -nargs=* CompilerSet setlocal +endif + +let s:cpo_save = &cpo +set cpo&vim + +CompilerSet makeprg=icont\ -s +CompilerSet errorformat=%-G%\\d%\\+\ errors%\\=, + \%ERun-time\ error\ %n, + \%ERun-time\ error\ %n\ in\ %m, + \%ZTraceback:, + \%+Coffending\ value:\ %.%#, + \%CFile\ %f;\ Line\ %l, + \%EFile\ %f;\ Line\ %l\ #\ %m, + \%EFile\ %f;\ %m, + \%E%f:%l:\ #\ %m, + \%E%f:\ %m, + \%+C%.%#, + \%-G%.%# + +let &cpo = s:cpo_save +unlet s:cpo_save -- cgit