From a98b8ddd1a0337b7d4bf1b9722066685e5d3f16e Mon Sep 17 00:00:00 2001 From: Evan Richter Date: Tue, 19 Dec 2023 16:31:27 -0700 Subject: add smali language support (#9089) --- languages.toml | 13 +++++++++++++ 1 file changed, 13 insertions(+) (limited to 'languages.toml') diff --git a/languages.toml b/languages.toml index 61dfdc41..796069ef 100644 --- a/languages.toml +++ b/languages.toml @@ -956,6 +956,19 @@ indent = { tab-width = 2, unit = " " } 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" -- cgit v1.2.3-70-g09d2