Add Djot support (#12562)

This commit is contained in:
Matthew Mark Ibbetson 2025-02-10 23:36:01 +02:00 committed by GitHub
parent 7a3470c48d
commit 35faa73be1
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
4 changed files with 318 additions and 0 deletions

View file

@ -1696,6 +1696,18 @@ grammar = "markdown_inline"
name = "markdown_inline"
source = { git = "https://github.com/tree-sitter-grammars/tree-sitter-markdown", rev = "62516e8c78380e3b51d5b55727995d2c511436d8", subpath = "tree-sitter-markdown-inline" }
[[language]]
name = "djot"
scope = "source.djot"
injection-regex = "dj|djot"
file-types = ["dj", "djot"]
indent = { tab-width = 2, unit = " " }
block-comment-tokens = { start = "{%", end = "%}" }
[[grammar]]
name = "djot"
source = { git = "https://github.com/treeman/tree-sitter-djot", rev = "67e6e23ba7be81a4373e0f49e21207bdc32d12a5" }
[[language]]
name = "dart"
scope = "source.dart"