mirror of
https://github.com/helix-editor/helix.git
synced 2025-04-03 19:07:44 +03:00
Add Djot support (#12562)
This commit is contained in:
parent
7a3470c48d
commit
35faa73be1
4 changed files with 318 additions and 0 deletions
|
@ -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"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue