Skip to content

Commit

Permalink
Cleanup.
Browse files Browse the repository at this point in the history
  • Loading branch information
thesoftwarephilosopher committed Aug 22, 2024
1 parent 07c5416 commit 8792d4f
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions site/token-provider.ts
Original file line number Diff line number Diff line change
Expand Up @@ -54,13 +54,9 @@ export const tokenProvider = {
// The main tokenizer for our languages
tokenizer: {
root: [

[/[{}]/, 'delimiter.bracket'],

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

{ include: 'common' },

],

newtype: [
Expand All @@ -81,7 +77,7 @@ export const tokenProvider = {
cases: {
'new': { token: 'keyword', next: '@newtype' },
'function': { token: 'keyword', next: '@function' },
// 'class': { token: 'keyword', next: '@function' },
// 'class': { token: 'keyword', next: '@function' }, // TODO: uncomment after JSX works
'@keywords': 'keyword',
'@default': 'identifier'
}
Expand Down

0 comments on commit 8792d4f

Please sign in to comment.