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

Plasma syntax highlighting should not override Pascal #1

Open
PaulBone opened this issue Jun 1, 2019 · 0 comments
Open

Plasma syntax highlighting should not override Pascal #1

PaulBone opened this issue Jun 1, 2019 · 0 comments

Comments

@PaulBone
Copy link
Member

PaulBone commented Jun 1, 2019

Plasma and Pascal both use .p file extension. Plasma syntax highlighting should not be enabled for Pascal based on file content. I propose that:

  • If the file contains the keyword "program" before it contains the keyword "module" (if at all) it is a Pascal program.
  • If the file contains the keyword "module" before it contains the keyword "program" (if at all) it is a Plasma file.

Are there other keywords we need for Pascal, when a file is a library?

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

1 participant