Functions cannot have uppercase characters in Gleam
This commit is contained in:
parent
56bc0a8b08
commit
7c3d4b6f86
1 changed files with 1 additions and 1 deletions
2
vendor/prism-patches/prism-gleam.js
vendored
2
vendor/prism-patches/prism-gleam.js
vendored
|
@ -7,7 +7,7 @@ Prism.languages.gleam = {
|
|||
pattern: /\/\/.*/,
|
||||
greedy: true,
|
||||
},
|
||||
function: /(?<=fn )([a-z_][a-zA-Z0-9_]+)(?=\()/,
|
||||
function: /(?<=fn )([a-z_][a-z0-9_]+)(?=\()/,
|
||||
keyword:
|
||||
/\b(use|case|if|external|fn|import|let|assert|try|pub|type|opaque|const|todo|as)\b/,
|
||||
operator: {
|
||||
|
|
Loading…
Reference in a new issue