aboutsummaryrefslogtreecommitdiff
path: root/runtime/compiler/perl.vim
diff options
context:
space:
mode:
authorChristian Clason <c.clason@uni-graz.at>2022-06-15 09:20:32 +0200
committerGitHub <noreply@github.com>2022-06-15 09:20:32 +0200
commit504d7decbdef55d58e62217a0a54cbee2a0944cc (patch)
tree09922dd511d071bdde73df146eca5bda4741c759 /runtime/compiler/perl.vim
parent1493efdc141f0bc0a472b60f87927b3d5ab59f5e (diff)
downloadrneovim-504d7decbdef55d58e62217a0a54cbee2a0944cc.tar.gz
rneovim-504d7decbdef55d58e62217a0a54cbee2a0944cc.tar.bz2
rneovim-504d7decbdef55d58e62217a0a54cbee2a0944cc.zip
vim-patch:8c1b8cb2e0b5 (#18966)
Update runtime files https://github.com/vim/vim/commit/8c1b8cb2e0b52d0853f85c2096a2f22dbc57a788
Diffstat (limited to 'runtime/compiler/perl.vim')
-rw-r--r--runtime/compiler/perl.vim18
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'