summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorLukas Mai <lukasmai.403@gmail.com>2023-03-23 17:43:28 +0100
committerYves Orton <demerphq@gmail.com>2023-03-24 06:10:05 +0800
commit9a3a94ffdd8cf71ee39fede590ae136ce59f7cf7 (patch)
treea76682477d84dbb79d1266cdee811365aeedb3d1 /lib
parentb7eedb08953678c5b222f3776892756053dc00aa (diff)
downloadperl-9a3a94ffdd8cf71ee39fede590ae136ce59f7cf7.tar.gz
don't set a special filetype for generated .gitignore
Previously it would default to Perl, which happens to produce the right comment character ("#"), but results in nonsensical syntax highlighting. Now we set $lang to the special value 'None', which still produces read-only declarations, but doesn't force a mode/filetype on editors.
Diffstat (limited to 'lib')
-rw-r--r--lib/.gitignore4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/.gitignore b/lib/.gitignore
index 92f14a7a6a..7feacc5ceb 100644
--- a/lib/.gitignore
+++ b/lib/.gitignore
@@ -1,4 +1,4 @@
-# -*- mode: Perl; buffer-read-only: t -*-
+# -*- 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 ft=perl:
+# ex: set ro: