mirror of
https://github.com/latex-lsp/texlab.git
synced 2025-08-04 18:58:31 +00:00
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
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:
parent
86d5a3c9ad
commit
731bd890cd
1 changed files with 1 additions and 1 deletions
|
@ -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"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue