PlasmaLang/vim

Plasma syntax highlighting should not override Pascal

Opened this issue · 0 comments

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?