Skip to content

Conversation

@mataha
Copy link

@mataha mataha commented Feb 8, 2021

As it is right now, some scripts in this repo @ GitHub are detected as Prolog, not Perl, which screws up their syntax coloring in creative ways, e.g. scriptassist.pl, adv_windowlist.pl, newsline.pl.

This PR aims to fix that by slamming a line in .gitattributes overriding this (I have no idea how does this work by default, and why only a subset of Perl scripts is affected).

(Note: this won't work immediately - linguist job has to visit this repo)

And enable syntax detection of *.pl files as Perl.
@ailin-nemui ailin-nemui marked this pull request as draft June 11, 2022 23:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant