Skip to content

Commit

Permalink
add identifiers to recognised patterns
Browse files Browse the repository at this point in the history
Themes will not color a lot of the code
(leave it at the default color value)
otherwise
  • Loading branch information
khvorov45 committed Sep 16, 2021
1 parent d9f1076 commit 4886532
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions syntaxes/odin.tmLanguage.json
Original file line number Diff line number Diff line change
Expand Up @@ -22,11 +22,15 @@
},
{
"include": "#punctuation"
},
{
"include": "#identifier"
}
],
"repository": {
"identifier": {
"patterns": [{
"name": "variable.other.odin",
"match": "\\b[[:alpha:]_][[:alnum:]_]*\\b"
}]
},
Expand Down

0 comments on commit 4886532

Please sign in to comment.