aboutsummaryrefslogtreecommitdiff
path: root/languages.toml
diff options
context:
space:
mode:
authorMatthew Toohey2024-03-09 07:59:56 +0000
committerGitHub2024-03-09 07:59:56 +0000
commite3c6c82828299f1728f16a8d8fcfa5c3603a3d47 (patch)
tree9a7ee623dbfaa6b85ffd6435ed362a86869d0221 /languages.toml
parentfd89c3c8335399e344e038f1141ea0657653a591 (diff)
add linker script language (#9835)
Diffstat (limited to 'languages.toml')
-rw-r--r--languages.toml12
1 files changed, 12 insertions, 0 deletions
diff --git a/languages.toml b/languages.toml
index e96f0618..2e9f5d19 100644
--- a/languages.toml
+++ b/languages.toml
@@ -3273,3 +3273,15 @@ indent = { tab-width = 4, unit = " " }
[[grammar]]
name = "powershell"
source = { git = "https://github.com/airbus-cert/tree-sitter-powershell", rev = "c9316be0faca5d5b9fd3b57350de650755f42dc0" }
+
+[[language]]
+name = "ld"
+scope = "source.ld"
+injection-regex = "ld"
+file-types = ["ld"]
+block-comment-tokens = { start = "/*", end = "*/" }
+indent = { tab-width = 2, unit = " " }
+
+[[grammar]]
+name = "ld"
+source = { git = "https://github.com/mtoohey31/tree-sitter-ld", rev = "81978cde3844bfc199851e39c80a20ec6444d35e" }