summaryrefslogtreecommitdiff
path: root/regen
diff options
context:
space:
mode:
authorLukas Mai <lukasmai.403@gmail.com>2023-03-23 17:07:03 +0100
committerYves Orton <demerphq@gmail.com>2023-03-24 06:10:05 +0800
commitb7eedb08953678c5b222f3776892756053dc00aa (patch)
treebfca1d0b568f3d0052c5f1c6b27c923881c638d3 /regen
parent3ae398fba4a16b2da69f72f21ace25d2bf0370e6 (diff)
downloadperl-b7eedb08953678c5b222f3776892756053dc00aa.tar.gz
fix incorrect vi filetype declarations in generated files
Vim's filetype declarations are case sensitive. The correct types for Perl, C, and Pod are perl, c, and pod, respectively.
Diffstat (limited to 'regen')
-rwxr-xr-xregen/feature.pl2
-rw-r--r--regen/regen_lib.pl2
-rw-r--r--regen/warnings.pl2
3 files changed, 3 insertions, 3 deletions
diff --git a/regen/feature.pl b/regen/feature.pl
index 10073bea02..aeb04edeb4 100755
--- a/regen/feature.pl
+++ b/regen/feature.pl
@@ -501,7 +501,7 @@ read_only_bottom_close_and_rename($h);
__END__
package feature;
-our $VERSION = '1.81';
+our $VERSION = '1.82';
FEATURES
diff --git a/regen/regen_lib.pl b/regen/regen_lib.pl
index 36ffa9ecfd..f511857781 100644
--- a/regen/regen_lib.pl
+++ b/regen/regen_lib.pl
@@ -203,7 +203,7 @@ sub read_only_bottom_close_and_rename {
$comment .= "$digest $file\n";
}
}
- $comment .= "ex: set ro ft=$lang:";
+ $comment .= "ex: set ro ft=\L$lang\E:";
if (defined $lang && $lang eq 'Perl') {
$comment =~ s/^/# /mg;
diff --git a/regen/warnings.pl b/regen/warnings.pl
index 4b598bbc31..7b0c49a883 100644
--- a/regen/warnings.pl
+++ b/regen/warnings.pl
@@ -16,7 +16,7 @@
#
# This script is normally invoked from regen.pl.
-$VERSION = '1.63';
+$VERSION = '1.64';
BEGIN {
require './regen/regen_lib.pl';