Skip to content

Commit

Permalink
fix(gml) more specific scope for function decl
Browse files Browse the repository at this point in the history
Co-authored-by: Josh Goebel <[email protected]>
  • Loading branch information
thennothinghappened and joshgoebel authored Dec 14, 2024
1 parent 3b0d288 commit 78afe09
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/languages/gml.js
Original file line number Diff line number Diff line change
Expand Up @@ -1408,7 +1408,7 @@ export default function(hljs) {
*/
const FUNCTION_DECLARATION = {
match: [
"function",
"title.function",
/\s+/,
VALID_IDENTIFIER_RE,
/\s*?\(/
Expand Down

0 comments on commit 78afe09

Please sign in to comment.