Skip to content

Commit

Permalink
Merge pull request #6 from krobbi/fix-parameter-identifiers
Browse files Browse the repository at this point in the history
Allow underscores in function parameters
  • Loading branch information
danman113 authored May 28, 2023
2 parents 492dc15 + 0da028e commit e0974a6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion syntaxes/lox.tmLanguage.json
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@
}
},
{
"match": "\\b(fun)\\s+([A-Za-z_][A-Za-z0-9_]*)\\s*\\(([A-Za-z0-9,\\s]*)\\)",
"match": "\\b(fun)\\s+([A-Za-z_][A-Za-z0-9_]*)\\s*\\(([A-Za-z0-9_,\\s]*)\\)",
"captures": {
"1": {
"name":"storage.type.function.lox"
Expand Down

0 comments on commit e0974a6

Please sign in to comment.