aboutsummaryrefslogtreecommitdiff
path: root/languages.toml
diff options
context:
space:
mode:
author巢鹏2024-02-27 00:41:50 +0000
committerGitHub2024-02-27 00:41:50 +0000
commit358ac6bc1f512ca7303856dc904d4b4cdc1fe718 (patch)
tree1ace307facd047fb7ac1de6505368fd14c6c1b95 /languages.toml
parent1a82aeeae91be33cb0923c9f652fa6db250efd7f (diff)
add fidl support (#9713)
Diffstat (limited to 'languages.toml')
-rw-r--r--languages.toml18
1 files changed, 18 insertions, 0 deletions
diff --git a/languages.toml b/languages.toml
index 750ec908..313b3d95 100644
--- a/languages.toml
+++ b/languages.toml
@@ -3140,3 +3140,21 @@ indent = { tab-width = 2, unit = " " }
[[grammar]]
name = "groovy"
source = { git = "https://github.com/Decodetalkers/tree-sitter-groovy", rev = "7e023227f46fee428b16a0288eeb0f65ee2523ec" }
+
+[[language]]
+name = "fidl"
+scope = "source.fidl"
+injection-regex = "fidl"
+file-types = ["fidl"]
+comment-token = "//"
+indent = { tab-width = 4, unit = " " }
+
+[language.auto-pairs]
+'"' = '"'
+'{' = '}'
+'(' = ')'
+'<' = '>'
+
+[[grammar]]
+name = "fidl"
+source = { git = "https://github.com/google/tree-sitter-fidl", rev = "bdbb635a7f5035e424f6173f2f11b9cd79703f8d" }