ysalmon · GitHub

Environment

  • TeXstudio: 4.9.3
  • Qt: 6.4.2
  • OS: Kubuntu 24.04
  • TeX distribution: texlive 2026

Expected behavior

When a file starts with \ProvidesExplPackage, it should be highlighted with expl3 syntax mode.

Actual behavior

File is highlighted in LaTeX2 mode, unless I add \ExplSyntaxOn.

Additional information

This behaviour was added in #3613. Since then, the relevant code has been refactored with a seemingly more generic possibleCommands notion. Did something slip during this operation ?

Or maybe this is a problem with my own configuration ? I cannot find an entry pertaining to "when to use expl3 syntax mode" in the configuration GUI.

Read the original on github.com ↗