aboutsummaryrefslogtreecommitdiff
path: root/languages.toml
diff options
context:
space:
mode:
authorBlaž Hrastnik2022-05-01 02:24:17 +0000
committerBlaž Hrastnik2022-05-01 02:24:17 +0000
commit73879052c14a84de6efe6991881c53d542b7a8e6 (patch)
tree53b6fc36e18eac18901dc86a86157bc13e6f25e6 /languages.toml
parent2c60798b00cc9b8efc9fdbec304a7ea04d11de4c (diff)
Add Cairo support
Diffstat (limited to 'languages.toml')
-rw-r--r--languages.toml13
1 files changed, 13 insertions, 0 deletions
diff --git a/languages.toml b/languages.toml
index e5230fba..f065b109 100644
--- a/languages.toml
+++ b/languages.toml
@@ -1276,3 +1276,16 @@ indent = { tab-width = 4, unit = "\t" }
[[grammar]]
name = "devicetree"
source = { git = "https://github.com/joelspadin/tree-sitter-devicetree", rev = "877adbfa0174d25894c40fa75ad52d4515a36368" }
+
+[[language]]
+name = "cairo"
+scope = "source.cairo"
+injection-regex = "cairo"
+file-types = ["cairo"]
+roots = []
+comment-token = "#"
+indent = { tab-width = 4, unit = " " }
+
+[[grammar]]
+name = "cairo"
+source = { git = "https://github.com/archseer/tree-sitter-cairo", rev = "5155c6eb40db6d437f4fa41b8bcd8890a1c91716" }