Add keywords `import`, `export`, and `struct`.

pull/4586/head
Scott Carda 2024-07-01 13:59:44 -07:00
parent c321d0fbec
commit 333adbbe6b
1 changed files with 3 additions and 1 deletions

View File

@ -33,12 +33,15 @@ export const language = <languages.IMonarchLanguage>{
keywords: [ keywords: [
'namespace', 'namespace',
'open', 'open',
'import',
'export',
'as', 'as',
'operation', 'operation',
'function', 'function',
'body', 'body',
'adjoint', 'adjoint',
'newtype', 'newtype',
'struct',
'controlled', 'controlled',
'if', 'if',
'elif', 'elif',
@ -141,7 +144,6 @@ export const language = <languages.IMonarchLanguage>{
'stackalloc', 'stackalloc',
'static', 'static',
'string', 'string',
'struct',
'switch', 'switch',
'this', 'this',
'throw', 'throw',