From 9a3a94ffdd8cf71ee39fede590ae136ce59f7cf7 Mon Sep 17 00:00:00 2001 From: Lukas Mai Date: Thu, 23 Mar 2023 17:43:28 +0100 Subject: 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. --- lib/.gitignore | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'lib') 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: -- cgit v1.2.1