Skip to content

Commit

Permalink
select base object that function is called on
Browse files Browse the repository at this point in the history
  • Loading branch information
u9g committed Apr 22, 2024
1 parent 77d7ee5 commit ba074fd
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions syntaxes/gleam.tmLanguage.json
Original file line number Diff line number Diff line change
Expand Up @@ -141,7 +141,7 @@
"entity": {
"patterns": [
{
"begin": "\\b([[:lower:]][[:word:]]*)([[:space:]]*)?\\(",
"begin": "(?:([[:lower:]][[:word:]]*)\\.|(?!\\.)\\b)([[:lower:]][[:word:]]*)([[:space:]]*)?\\(",
"end": "\\)",
"patterns": [
{
Expand All @@ -150,7 +150,10 @@
],
"captures": {
"1": {
"name": "entity.name.function.gleam"
"name": "support.class"
},
"2": {
"name": "entity.name.function.gleams"
}
}
},
Expand Down

0 comments on commit ba074fd

Please sign in to comment.