aboutsummaryrefslogtreecommitdiff
path: root/languages.toml
diff options
context:
space:
mode:
authorCyrill Schenkel2023-09-16 00:04:44 +0000
committerGitHub2023-09-16 00:04:44 +0000
commit941dc6c614d684804c3580c4ae8b3c4368aab217 (patch)
tree9c5f661a64dd74b811e0e33399aa841b0c9b41aa /languages.toml
parent19d44b6fde2a7689ff32410c573106b9c8359236 (diff)
add GNU assembler (gas) support #8291)
Diffstat (limited to 'languages.toml')
-rw-r--r--languages.toml15
1 files changed, 14 insertions, 1 deletions
diff --git a/languages.toml b/languages.toml
index 37d2e94c..a6ff9c67 100644
--- a/languages.toml
+++ b/languages.toml
@@ -2495,7 +2495,7 @@ source = { git = "https://github.com/erasin/tree-sitter-po", rev = "417cee9abb20
[[language]]
name = "nasm"
scope = "source.nasm"
-file-types = ["asm", "s", "S", "nasm"]
+file-types = ["asm", "S", "nasm"]
injection-regex = "n?asm"
roots = []
comment-token = ";"
@@ -2506,6 +2506,19 @@ name = "nasm"
source = { git = "https://github.com/naclsn/tree-sitter-nasm", rev = "a0db15db6fcfb1bf2cc8702500e55e558825c48b" }
[[language]]
+name = "gas"
+scope = "source.gas"
+file-types = ["s"]
+injection-regex = "gas"
+roots = []
+comment-token = "#"
+indent = { tab-width = 8, unit = " " }
+
+[[grammar]]
+name = "gas"
+source = { git = "https://github.com/sirius94/tree-sitter-gas", rev = "60f443646b20edee3b7bf18f3a4fb91dc214259a" }
+
+[[language]]
name = "rst"
scope = "source.rst"
comment-token = ".."