Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Fix Sublime3 Syntax-Highlighting (#1259)
'= was recognized as keyword, instead of a quote start.
Now quotes (and comments) will be checked first, before detecting keywords.

Co-authored-by: Ecconia <public-commit@ecconia.com>
  • Loading branch information
Ecconia and Ecconia committed Feb 17, 2021
1 parent 4d95cea commit 2966326
Showing 1 changed file with 4 additions and 2 deletions.
Expand Up @@ -18,6 +18,10 @@ contexts:
- include: content

content:
# Handle strings and comments first, to prevent them being recognized as something else.
- include: quotedstring
- include: comments

- include: keywords

# Highlight Operators
Expand All @@ -41,8 +45,6 @@ contexts:
1: entity.name.function.mscript

- include: variables
- include: quotedstring
- include: comments

comments:
# Single line comment
Expand Down

0 comments on commit 2966326

Please sign in to comment.