Skip to content

Plasma syntax highlighting should not override Pascal #1

Description

@PaulBone

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?

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions