summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorElvin Aslanov <rwp.primary@gmail.com>2023-01-17 15:36:04 +0400
committerYves Orton <demerphq@gmail.com>2023-02-19 09:44:05 +0800
commit6a3688ca38336cac59b24ee3b841aa175e06a65e (patch)
tree28f98bee183f36291289bf154e65c677b461701e /lib
parent36052af0af0e8795eecbd9900189364233d49e02 (diff)
downloadperl-6a3688ca38336cac59b24ee3b841aa175e06a65e.tar.gz
generated files - update mode lines to specify file type
This updates the mode-line for most of our generated files so that they include file type information so they will be properly syntax highlighted on github. This does not make any other functional changes to the files. [Note: Commit message rewritten by Yves]
Diffstat (limited to 'lib')
-rw-r--r--lib/.gitignore4
-rw-r--r--lib/B/Op_private.pm4
-rw-r--r--lib/feature.pm4
-rw-r--r--lib/overload/numbers.pm4
-rw-r--r--lib/warnings.pm4
5 files changed, 10 insertions, 10 deletions
diff --git a/lib/.gitignore b/lib/.gitignore
index 7feacc5ceb..2794c275a6 100644
--- a/lib/.gitignore
+++ b/lib/.gitignore
@@ -1,4 +1,4 @@
-# -*- buffer-read-only: t -*-
+# -*- mode: Perl; buffer-read-only: t -*-
# !!!!!!! DO NOT EDIT THIS FILE !!!!!!!
# This file is built by regen/lib_cleanup.pl from MANIFEST and parsing files
# in cpan/ dist/ and ext/.
@@ -229,4 +229,4 @@
/version.pod
/version/
-# ex: set ro:
+# ex: set ro ft=Perl:
diff --git a/lib/B/Op_private.pm b/lib/B/Op_private.pm
index 0bd8128e99..29eaf5d135 100644
--- a/lib/B/Op_private.pm
+++ b/lib/B/Op_private.pm
@@ -1,4 +1,4 @@
-# -*- buffer-read-only: t -*-
+# -*- mode: Perl; buffer-read-only: t -*-
#
# lib/B/Op_private.pm
#
@@ -928,4 +928,4 @@ $ops_using{OPpTRANS_IDENTICAL} = $ops_using{OPpTRANS_CAN_FORCE_UTF8};
$ops_using{OPpTRANS_SQUASH} = $ops_using{OPpTRANS_CAN_FORCE_UTF8};
$ops_using{OPpTRANS_USE_SVOP} = $ops_using{OPpTRANS_CAN_FORCE_UTF8};
-# ex: set ro:
+# ex: set ro ft=Perl:
diff --git a/lib/feature.pm b/lib/feature.pm
index 407448832d..ebaae10f4a 100644
--- a/lib/feature.pm
+++ b/lib/feature.pm
@@ -1,4 +1,4 @@
-# -*- buffer-read-only: t -*-
+# -*- mode: Perl; buffer-read-only: t -*-
# !!!!!!! DO NOT EDIT THIS FILE !!!!!!!
# This file is built by regen/feature.pl.
# Any changes made here will be lost!
@@ -1244,4 +1244,4 @@ sub feature_bundle {
1;
-# ex: set ro:
+# ex: set ro ft=Perl:
diff --git a/lib/overload/numbers.pm b/lib/overload/numbers.pm
index ccea9e17bc..db71405f08 100644
--- a/lib/overload/numbers.pm
+++ b/lib/overload/numbers.pm
@@ -1,4 +1,4 @@
-# -*- buffer-read-only: t -*-
+# -*- mode: Perl; buffer-read-only: t -*-
#
# lib/overload/numbers.pm
#
@@ -173,4 +173,4 @@ our @enums = qw#
{ my $i = 0; our %enums = map { $_ => $i++ } @enums }
-# ex: set ro:
+# ex: set ro ft=Perl:
diff --git a/lib/warnings.pm b/lib/warnings.pm
index 554cd09500..b0dc1037ed 100644
--- a/lib/warnings.pm
+++ b/lib/warnings.pm
@@ -1,4 +1,4 @@
-# -*- buffer-read-only: t -*-
+# -*- mode: Perl; buffer-read-only: t -*-
# !!!!!!! DO NOT EDIT THIS FILE !!!!!!!
# This file is built by regen/warnings.pl.
# Any changes made here will be lost!
@@ -1449,4 +1449,4 @@ See also L<perlmodlib/Pragmatic Modules> and L<perldiag>.
=cut
-# ex: set ro:
+# ex: set ro ft=Perl: