Skip to content

Commit 1482e9f

Browse files
committed
editor/pybricksMicroPython: add constant formatting
1 parent 098c8e6 commit 1482e9f

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/editor/pybricksMicroPython.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -192,6 +192,7 @@ export const language = <monaco.languages.IMonarchLanguage>{
192192
cases: {
193193
'@keywords': 'keyword',
194194
'@builtins': 'support.function',
195+
'[A-Z_]+': 'support.constant',
195196
'@default': 'identifier',
196197
},
197198
},

0 commit comments

Comments
 (0)