浏览代码

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

Scott Carda 1 年之前
父节点
当前提交
333adbbe6b
共有 1 个文件被更改,包括 3 次插入1 次删除
  1. 3 1
      src/basic-languages/qsharp/qsharp.ts

+ 3 - 1
src/basic-languages/qsharp/qsharp.ts

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