Skip to content
This repository has been archived by the owner on Jun 26, 2024. It is now read-only.

Commit

Permalink
highlight abbreviation command
Browse files Browse the repository at this point in the history
  • Loading branch information
gebner committed Jul 25, 2018
1 parent 42d633b commit 3dc37df
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion syntaxes/lean.json
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
"patterns": []
},
{
"begin": "\\b(inductive|coinductive|structure|theorem|axiom|axioms|lemma|hypothesis|definition|def|instance|class|constant)\\b\\s+(\\{[^}]*\\}\\s+)?([^ \\t\\n\\r{(\\[]*)",
"begin": "\\b(inductive|coinductive|structure|theorem|axiom|axioms|lemma|hypothesis|definition|def|abbreviation|instance|class|constant)\\b\\s+(\\{[^}]*\\}\\s+)?(([^ \\t\\n\\r{(\\[,:]*(,\\s*)?)*)",
"beginCaptures": {
"1": {
"name": "keyword.other.lean"
Expand Down

0 comments on commit 3dc37df

Please sign in to comment.