aboutsummaryrefslogtreecommitdiff
path: root/languages.toml
diff options
context:
space:
mode:
authorEvan Richter2023-12-19 23:31:27 +0000
committerGitHub2023-12-19 23:31:27 +0000
commita98b8ddd1a0337b7d4bf1b9722066685e5d3f16e (patch)
tree7e647d9c87e63bda28e7d3e3b8b4a308f2fa049a /languages.toml
parent63218a512687cf6cfdbd11f088d0a2cb7d4dfcb8 (diff)
add smali language support (#9089)
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 61dfdc41..796069ef 100644
--- a/languages.toml
+++ b/languages.toml
@@ -957,6 +957,19 @@ name = "java"
source = { git = "https://github.com/tree-sitter/tree-sitter-java", rev = "09d650def6cdf7f479f4b78f595e9ef5b58ce31e" }
[[language]]
+name = "smali"
+scope = "source.smali"
+injection-regex = "smali"
+file-types = ["smali"]
+comment-token = "#"
+roots = []
+indent = { tab-width = 4, unit = " " }
+
+[[grammar]]
+name = "smali"
+source = { git = "https://github.com/amaanq/tree-sitter-smali", rev = "5ae51e15c4d1ac93cba6127caf3d1f0a072c140c" }
+
+[[language]]
name = "ledger"
scope = "source.ledger"
injection-regex = "ledger"