aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBlaž Hrastnik2022-10-14 07:25:33 +0000
committerBlaž Hrastnik2022-10-17 01:35:15 +0000
commit431f9c14f35868c6825a3e7e858148d1f2bcddbc (patch)
treec7c7d6de9cbc34d333dfc8a7b0ce33377aadd5c4
parent17488f14d6d28361d3ae060492e2f31fde00f00c (diff)
Support Cairo 0.10 syntax
-rw-r--r--languages.toml2
-rw-r--r--runtime/queries/cairo/highlights.scm2
2 files changed, 1 insertions, 3 deletions
diff --git a/languages.toml b/languages.toml
index da7b10bd..d3528533 100644
--- a/languages.toml
+++ b/languages.toml
@@ -1445,7 +1445,7 @@ indent = { tab-width = 4, unit = " " }
[[grammar]]
name = "cairo"
-source = { git = "https://github.com/archseer/tree-sitter-cairo", rev = "5155c6eb40db6d437f4fa41b8bcd8890a1c91716" }
+source = { git = "https://github.com/archseer/tree-sitter-cairo", rev = "e2f9b3d75f483fcfda03cf07e4176869357bfb52" }
[[language]]
name = "cpon"
diff --git a/runtime/queries/cairo/highlights.scm b/runtime/queries/cairo/highlights.scm
index 3a30d188..c10ce5e0 100644
--- a/runtime/queries/cairo/highlights.scm
+++ b/runtime/queries/cairo/highlights.scm
@@ -36,7 +36,6 @@
[
"if"
"else"
- "end"
"assert"
"with"
"with_attr"
@@ -54,7 +53,6 @@
"const"
"local"
"struct"
- "member"
"alloc_locals"
"tempvar"
] @keyword