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

Prolog not recognized with extension pl #407

Closed
rrooij opened this issue Nov 21, 2019 · 1 comment
Closed

Prolog not recognized with extension pl #407

rrooij opened this issue Nov 21, 2019 · 1 comment

Comments

@rrooij
Copy link

rrooij commented Nov 21, 2019

Prolog code with the extension .pl is not recognized. And unfortunately, perl also uses this extension. We need some way of distinguishing perl and prolog. When I tried to add the pl extension to prolog in the languages.json I got an unreachable block error on compilation.

Proof that the .pl is extension is used in the prolog community:

https://www.swi-prolog.org/pldoc/man?section=fileext

@XAMPPRocky
Copy link
Owner

Thank you for your issue! Currently tokei does not have this functionality, I intend to add the ability to specific extension overrides to the .tokeirc file format shortly. In mean time I'm going to close this issue as a duplicate of #67

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

No branches or pull requests

2 participants