aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorigs <[email protected]>2024-12-22 00:45:00 +0100
committerGitHub <[email protected]>2024-12-22 00:45:00 +0100
commit772e4a1d014c096e9723574bea347ec0581045e7 (patch)
tree77e0cb3746f78c0e455f92c21b48504e451fb4bb
parent775908026fd9b9940caf7b90c98500fb70832c2b (diff)
downloadmonkeytype-772e4a1d014c096e9723574bea347ec0581045e7.tar.gz
monkeytype-772e4a1d014c096e9723574bea347ec0581045e7.zip
feat(language): add code_typst (@iggedi-ig-ig) (#6117)
-rw-r--r--frontend/static/languages/_groups.json1
-rw-r--r--frontend/static/languages/_list.json1
-rw-r--r--frontend/static/languages/code_typst.json50
3 files changed, 52 insertions, 0 deletions
diff --git a/frontend/static/languages/_groups.json b/frontend/static/languages/_groups.json
index 6335a4790..512b259e1 100644
--- a/frontend/static/languages/_groups.json
+++ b/frontend/static/languages/_groups.json
@@ -606,6 +606,7 @@
"code_lua",
"code_luau",
"code_latex",
+ "code_typst",
"code_matlab",
"code_sql",
"code_perl",
diff --git a/frontend/static/languages/_list.json b/frontend/static/languages/_list.json
index c6b02836b..460cfbd13 100644
--- a/frontend/static/languages/_list.json
+++ b/frontend/static/languages/_list.json
@@ -339,6 +339,7 @@
,"code_lua"
,"code_luau"
,"code_latex"
+ ,"code_typst"
,"code_matlab"
,"code_sql"
,"code_perl"
diff --git a/frontend/static/languages/code_typst.json b/frontend/static/languages/code_typst.json
new file mode 100644
index 000000000..bd9f85323
--- /dev/null
+++ b/frontend/static/languages/code_typst.json
@@ -0,0 +1,50 @@
+{
+ "name": "code_typst",
+ "noLazyMode": true,
+ "ligatures": false,
+ "words": [
+ "#use",
+ "#set par(justify: true)",
+ "#show",
+ "#set",
+ "#let",
+ "#par",
+ "#figure",
+ "#underline",
+ "#smallcaps",
+ "#grid",
+ "#box",
+ "#place",
+ "#import",
+ "#link",
+ "#lorem(50)",
+ "let",
+ "#{",
+ "}",
+ "#(",
+ ")",
+ "#[",
+ "]",
+ "$",
+ "@",
+ "*",
+ "-",
+ "_",
+ "\\",
+ "/",
+ "//",
+ "floor(x)",
+ "cal(A)",
+ "NN",
+ "RR",
+ ">",
+ "<",
+ ">=",
+ "gt.eq.not",
+ "sum_(k=1)^oo",
+ "pi",
+ "&=",
+ "vec",
+ "mat"
+ ]
+}