Support more OldCommandDefinition-s (#1402)
Some checks failed
CI / Build (aarch64-unknown-linux-gnu) (push) Failing after 5s
CI / Build (armv7-unknown-linux-gnueabihf) (push) Failing after 3s
CI / Build (x86_64-unknown-linux-gnu) (push) Failing after 2s
CI / Build (x86_64-unknown-linux-musl) (push) Failing after 3s
CI / Build (aarch64-apple-darwin) (push) Has been cancelled
CI / Build (x86_64-apple-darwin) (push) Has been cancelled
CI / Build (aarch64-pc-windows-msvc) (push) Has been cancelled
CI / Build (i686-pc-windows-msvc) (push) Has been cancelled
CI / Build (x86_64-pc-windows-msvc) (push) Has been cancelled
CI / MSRV (push) Has been cancelled

Added some additional \def-like and \let-like macros.

Signed-off-by: Jonas Dujava <jonas.dujava@gmail.com>
This commit is contained in:
Jonáš Dujava 2025-06-01 09:03:39 +02:00 committed by GitHub
parent 86d5a3c9ad
commit 731bd890cd
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -30,7 +30,7 @@ pub fn classify(name: &str, config: &SyntaxConfig) -> CommandName {
CommandName::Import
}
"newlabel" => CommandName::LabelNumber,
"def" | "let" => CommandName::OldCommandDefinition,
"def" | "gdef" | "edef" | "xdef" | "let" | "glet" => CommandName::OldCommandDefinition,
"newcommand"
| "newcommand*"
| "renewcommand"