aboutsummaryrefslogtreecommitdiff
path: root/languages.toml
diff options
context:
space:
mode:
authorMatouš Dzivjak2023-04-12 15:28:03 +0000
committerGitHub2023-04-12 15:28:03 +0000
commit70de5026b801fb1a0eb54acc2d3685291c8e14f3 (patch)
treedd95cfbfde8f6f48068dbdf66038a0f12e2ea682 /languages.toml
parentfed5e6e646b157faa3fd2be494209e68e132a8c1 (diff)
feat(languages): Support markdoc (#6432)
Add basic support for [markdoc](https://markdoc.dev/). For language server, see: https://github.com/markdoc-extra/markdoc-ls For tree sitter, see: https://github.com/markdoc-extra/tree-sitter-markdoc
Diffstat (limited to 'languages.toml')
-rw-r--r--languages.toml11
1 files changed, 11 insertions, 0 deletions
diff --git a/languages.toml b/languages.toml
index 22c1842e..9e55dd4e 100644
--- a/languages.toml
+++ b/languages.toml
@@ -2461,3 +2461,14 @@ indent = { tab-width = 2, unit = " " }
[[grammar]]
name = "hurl"
source = { git = "https://github.com/pfeiferj/tree-sitter-hurl", rev = "264c42064b61ee21abe88d0061f29a0523352e22" }
+
+[[language]]
+name = "markdoc"
+scope = "text.markdoc"
+roots = []
+file-types = ["mdoc"]
+language-server = { command = "markdoc-ls", args = ["--stdio"] }
+
+[[grammar]]
+name = "markdoc"
+source = { git = "https://github.com/markdoc-extra/tree-sitter-markdoc", rev = "5ffe71b29e8a3f94823913ea9cea51fcfa7e3bf8" }