mirror of
https://github.com/helix-editor/helix.git
synced 2024-09-11 18:58:00 +03:00
Add support for jjdescription
files (#11271)
This commit is contained in:
parent
ef4a4ff3c5
commit
f34dca797c
@ -96,6 +96,7 @@
|
||||
| java | ✓ | ✓ | ✓ | `jdtls` |
|
||||
| javascript | ✓ | ✓ | ✓ | `typescript-language-server` |
|
||||
| jinja | ✓ | | | |
|
||||
| jjdescription | ✓ | | | |
|
||||
| jsdoc | ✓ | | | |
|
||||
| json | ✓ | ✓ | ✓ | `vscode-json-language-server` |
|
||||
| json5 | ✓ | | | |
|
||||
|
@ -3203,6 +3203,19 @@ grammar = "jinja2"
|
||||
name = "jinja2"
|
||||
source = { git = "https://github.com/varpeti/tree-sitter-jinja2", rev = "a533cd3c33aea6acb0f9bf9a56f35dcfe6a8eb53" }
|
||||
|
||||
[[language]]
|
||||
name = "jjdescription"
|
||||
scope = "jj.description"
|
||||
file-types = [{ glob = "*.jjdescription" }]
|
||||
comment-token = "JJ:"
|
||||
indent = { tab-width = 2, unit = " " }
|
||||
rulers = [51, 73]
|
||||
text-width = 72
|
||||
|
||||
[[grammar]]
|
||||
name = "jjdescription"
|
||||
source = { git = "https://github.com/kareigu/tree-sitter-jjdescription", rev = "2ddec6cad07b366aee276a608e1daa2c29d3caf2" }
|
||||
|
||||
[[grammar]]
|
||||
name = "wren"
|
||||
source = { git = "https://git.sr.ht/~jummit/tree-sitter-wren", rev = "6748694be32f11e7ec6b5faeb1b48ca6156d4e06" }
|
||||
|
8
runtime/queries/jjdescription/highlights.scm
Normal file
8
runtime/queries/jjdescription/highlights.scm
Normal file
@ -0,0 +1,8 @@
|
||||
(text) @string
|
||||
(filepath) @string.special.path
|
||||
|
||||
(change type: "A" @diff.plus)
|
||||
(change type: "D" @diff.minus)
|
||||
(change type: "M" @diff.delta)
|
||||
|
||||
(comment) @comment
|
Loading…
Reference in New Issue
Block a user