We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a8022f7 commit 81fc093Copy full SHA for 81fc093
src/theme/pluto.js
@@ -2,7 +2,7 @@ Prism.languages.pluto = {
2
'comment': /^#!.+|--(?:\[(=*)\[[\s\S]*?\]\1\]|.*)/m,
3
'attr-name': /(?<=(function|class|extends)\s)[\w:]+/,
4
'function': [
5
- /\b(?!in\s)(?!\d)(?!return)(?!case)(?!function)(?!local)\w+(?=\s*(?:\??[({"]))/,
+ /\b(?!in\s)(?!\d)(?!return)(?!case)(?!function)(?!local)(?!not)\w+(?=\s*(?:\??[({"]))/,
6
/\b(function|enum|class)\b/,
7
/\b(debug|table|string|number|io|os|coroutine|_VERSION|_PVERSION|_PSOUP)\b/, // standard library + type hints
8
],
0 commit comments