Skip to content

Commit

Permalink
fix(gml) remove useless global special . case
Browse files Browse the repository at this point in the history
  • Loading branch information
thennothinghappened committed Dec 15, 2024
1 parent 6d70f6f commit aa00826
Showing 1 changed file with 1 addition and 12 deletions.
13 changes: 1 addition & 12 deletions src/languages/gml.js
Original file line number Diff line number Diff line change
Expand Up @@ -1227,20 +1227,9 @@ export default function(hljs) {
};

/**
* Dot accessor usage with a special highlighting case for `global`.
* Dot accessor usage.
*/
const PROP_ACCESS = [
{
match: [
"global",
DOT_ACCESSOR_RE,
VALID_IDENTIFIER_RE
],
scope: {
1: "literal",
3: "property"
}
},
{
match: [
DOT_ACCESSOR_RE,
Expand Down

0 comments on commit aa00826

Please sign in to comment.