Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Detect irssi scripts as proper Perl #761

Draft
wants to merge 1 commit into
base: master
Choose a base branch
from
Draft

Detect irssi scripts as proper Perl #761

wants to merge 1 commit into from

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