diff options
author | Josh Rahm <rahm@google.com> | 2022-07-18 19:37:18 +0000 |
---|---|---|
committer | Josh Rahm <rahm@google.com> | 2022-07-18 19:37:18 +0000 |
commit | 308e1940dcd64aa6c344c403d4f9e0dda58d9c5c (patch) | |
tree | 35fe43e01755e0f312650667004487a44d6b7941 /runtime/compiler/perl.vim | |
parent | 96a00c7c588b2f38a2424aeeb4ea3581d370bf2d (diff) | |
parent | e8c94697bcbe23a5c7b07c292b90a6b70aadfa87 (diff) | |
download | rneovim-308e1940dcd64aa6c344c403d4f9e0dda58d9c5c.tar.gz rneovim-308e1940dcd64aa6c344c403d4f9e0dda58d9c5c.tar.bz2 rneovim-308e1940dcd64aa6c344c403d4f9e0dda58d9c5c.zip |
Merge remote-tracking branch 'upstream/master' into rahm
Diffstat (limited to 'runtime/compiler/perl.vim')
-rw-r--r-- | runtime/compiler/perl.vim | 18 |
1 files changed, 11 insertions, 7 deletions
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 <heptite@gmail.com> -" Last Change: 2019 Jul 22 +" Vim compiler file +" Compiler: Perl syntax checks (perl -Wc) +" Maintainer: vim-perl <vim-perl@googlegroups.com> +" Author: Christian J. Robinson <heptite@gmail.com> +" 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' |