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

Conflict between Pawn and PHP file extensions #1032

Open
adib-yg opened this issue Feb 11, 2024 · 1 comment
Open

Conflict between Pawn and PHP file extensions #1032

adib-yg opened this issue Feb 11, 2024 · 1 comment
Labels
chroma Issue related to Chroma lexer

Comments

@adib-yg
Copy link

adib-yg commented Feb 11, 2024

The Pawn language has .inc extension and is used for include/library files.
I see in my Wakatime statistics that I have PHP language activity, but I haven't used ".php" for a while. (my profile)
This may be because PHP also has .inc file extension..
In github .inc files is always identified as Pawn language.

I use VSCode and Sublime Text 3 IDEs, if thats matters.

@adib-yg adib-yg added the bug Something isn't working label Feb 11, 2024
@gandarez
Copy link
Member

gandarez commented Jan 6, 2025

Hi @adib-yg, all these languages have .inc as possible filename, so it's hard to properly detect the language. @alanhamlett do you see any workaround in this case?

SourcePawn
PHP
ObjectPascal
POVRay

@gandarez gandarez added chroma Issue related to Chroma lexer and removed bug Something isn't working triage labels Jan 9, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
chroma Issue related to Chroma lexer
Projects
None yet
Development

No branches or pull requests

2 participants