Skip to content

Commit

Permalink
Fix #2796 highlighting of commands containing @
Browse files Browse the repository at this point in the history
  • Loading branch information
jlelong committed Jul 22, 2021
1 parent d29a809 commit 7c64dc5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion syntax/TeX.tmLanguage.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
"name": "punctuation.definition.keyword.tex"
}
},
"match": "(\\\\)(backmatter|else|fi|frontmatter|mainmatter|if(case|cat|dim|eof|false|hbox|hmode|inner|mmode|num|odd|true|undefined|vbox|vmode|void|x)?)\\b",
"match": "(\\\\)(backmatter|else|fi|frontmatter|mainmatter|if(case|cat|dim|eof|false|hbox|hmode|inner|mmode|num|odd|true|undefined|vbox|vmode|void|x)?)(?![a-zA-Z@])",
"name": "keyword.control.tex"
},
{
Expand Down

0 comments on commit 7c64dc5

Please sign in to comment.