aboutsummaryrefslogtreecommitdiff
path: root/languages.toml
diff options
context:
space:
mode:
authorJJ2023-12-16 04:29:26 +0000
committerGitHub2023-12-16 04:29:26 +0000
commitc56cd6ee8b9312a620d4fc38eea90a49613f5d72 (patch)
treece90625c3fd89600368114697d7f9af0b7173d07 /languages.toml
parent914c83420b9901f596bf771ad5f20495de9a070c (diff)
Add support for Agda (#8285)
* agda language support (wip) * improve highlights * disable agda-language-server * minor addendum to documentation * cargo xtask docgen * oh i can just do this neat * minor comment cleanup * upstream updated * imports: missed a spot --------- Co-authored-by: Michael Davis <mcarsondavis@gmail.com>
Diffstat (limited to 'languages.toml')
-rw-r--r--languages.toml27
1 files changed, 27 insertions, 0 deletions
diff --git a/languages.toml b/languages.toml
index e184c893..d05180ef 100644
--- a/languages.toml
+++ b/languages.toml
@@ -3,6 +3,7 @@
[language-server]
+als = { command = "als" }
awk-language-server = { command = "awk-language-server" }
bash-language-server = { command = "bash-language-server", args = ["start"] }
bass = { command = "bass", args = ["--lsp"] }
@@ -2921,6 +2922,32 @@ name = "gemini"
source = { git = "https://git.sr.ht/~nbsp/tree-sitter-gemini", rev = "3cc5e4bdf572d5df4277fc2e54d6299bd59a54b3" }
[[language]]
+name = "agda"
+scope = "source.agda"
+injection-regex = "agda"
+file-types = ["agda"]
+roots = []
+comment-token = "--"
+# language-servers = [ "als" ]
+# the agda language server is of questionable functionality.
+auto-format = false
+indent = { tab-width = 2, unit = " " }
+
+[language.auto-pairs]
+'"' = '"'
+"'" = "'"
+'{' = '}'
+'(' = ')'
+'[' = ']'
+
+# [language.debugger]
+# ?? can this be used for proof assistant support? explore
+
+[[grammar]]
+name = "agda"
+source = { git = "https://github.com/tree-sitter/tree-sitter-agda", rev = "c21c3a0f996363ed17b8ac99d827fe5a4821f217" }
+
+[[language]]
name = "templ"
scope = "source.templ"
file-types = ["templ"]