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 a7aa32b commit 24eb0faCopy full SHA for 24eb0fa
src/theme/pluto.js
@@ -16,7 +16,7 @@ Prism.languages.pluto = {
16
'keyword': /\$|\b(?:and|as|class|pluto_class|enum|begin|break|do|else|elseif|end|for|function|goto|if|in|local|new|not|or|repeat|return|static|then|until|while|continue|switch|case|default|pluto_switch|pluto_continue|extends|export|pluto_export|pluto_use|public)\b/,
17
'variable': /\b(?:self|parent|pluto_parent)\b/,
18
'operator': [
19
- /[-+*%^&|#]|\/\/?|<[<=]?|>[>=]?|[=~]=?|\:=|\?|\:|\?\.|instanceof/,
+ /[-+*%^&|#]|\/\/?|<[<=]?|>[>=]?|[=~]=?|\:=|\?|(?<!\w)\:|\?\.|instanceof/,
20
{
21
pattern: /(^|[^.])\.\.(?!\.)/,
22
lookbehind: true
0 commit comments