summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSteven Le Rouzic <steven.lerouzic@gmail.com>2024-05-13 14:59:16 +0200
committerSteven Le Rouzic <steven.lerouzic@gmail.com>2024-05-13 14:59:16 +0200
commit9e2bca8eca18d9dbc6a8517b7da2d5c71c770dcb (patch)
tree968370a3606c2b725ae383d6c202684419263836
parent5b5114f45728cd23fc2aabc6cb0f13a121ff06c1 (diff)
Custom gas grammar
-rw-r--r--.gitignore1
-rw-r--r--languages.toml8
2 files changed, 9 insertions, 0 deletions
diff --git a/.gitignore b/.gitignore
new file mode 100644
index 0000000..79cb082
--- /dev/null
+++ b/.gitignore
@@ -0,0 +1 @@
+runtime/
diff --git a/languages.toml b/languages.toml
index 4eddfe6..7ccb50a 100644
--- a/languages.toml
+++ b/languages.toml
@@ -7,5 +7,13 @@ name = "cpp"
indent = { unit = " ", tab-width = 4 }
file-types = ["cpp", "h", "hpp", "inc"]
+[[language]]
+name = "gas"
+indent = { unit = " ", tab-width = 4 }
+
+[[grammar]]
+name = "gas"
+source = { git = "https://github.com/stevenlr/tree-sitter-gas", rev = "ea4c4d158010790140ff737b8bbe7bb06d3e8b92" }
+
[language-server.clangd]
args = ["-header-insertion=never"]