Skip to content

Commit

Permalink
Declare more cite commands for syntax highlighting
Browse files Browse the repository at this point in the history
  • Loading branch information
jlelong committed Apr 28, 2020
1 parent ee7d7d6 commit 74e1212
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion syntax/LaTeX.tmLanguage.json
Original file line number Diff line number Diff line change
Expand Up @@ -1178,7 +1178,7 @@
"name": "meta.scope.item.latex"
},
{
"begin": "((\\\\)(?:auto|foot|full|no|short|text|paren)?[cC]ite(?:al)?(?:p|s|t|author|year(?:par)?|title)?[ANP]*\\*?)((?:(?:\\[[^\\]]*\\]){0,2}\\{[\\w:.]+\\})*)(?:(\\[)[^\\]]*(\\]))?(?:(\\[)[^\\]]*(\\]))?(\\{)",
"begin": "((\\\\)(?:[aA]uto|foot|full|no|short|[tT]ext|[pP]aren|[sS]mart)?[cC]ite(?:al)?(?:p|s|t|author|year(?:par)?|title)?[ANP]*\\*?)((?:(?:\\[[^\\]]*\\]){0,2}\\{[\\w:.]+\\})*)(?:(\\[)[^\\]]*(\\]))?(?:(\\[)[^\\]]*(\\]))?(\\{)",
"captures": {
"1": {
"name": "keyword.control.cite.latex"
Expand Down

0 comments on commit 74e1212

Please sign in to comment.