Skip to content

Commit

Permalink
Not sure if this is better or worse...
Browse files Browse the repository at this point in the history
  • Loading branch information
thesoftwarephilosopher committed Aug 22, 2024
1 parent 1a3c941 commit 7a18cf3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion site/token-provider.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ export const tokenProvider: monaco.languages.IMonarchLanguage = {
[/(\.)(#?[\w$]*)/, ['delimiter', 'property']],

// class properties
[/ +(#?\w+)\s*(?=[:;=])/, 'property'],
[/^ +(#?\w+)\s*(?=[:;=])/, 'property'],

// identifiers and keywords
[/#?[a-z_$][\w$]*/, { cases: { '@keywords': 'keyword', '@default': 'identifier' } }],
Expand Down

0 comments on commit 7a18cf3

Please sign in to comment.