mirror of
https://github.com/helix-editor/helix.git
synced 2024-11-25 02:46:17 +04:00
add tree-sitter-jsdoc (#2650)
This commit is contained in:
parent
42d780b103
commit
fd4858c03d
@ -41,6 +41,7 @@
|
||||
| iex | ✓ | | | |
|
||||
| java | ✓ | | | `jdtls` |
|
||||
| javascript | ✓ | | ✓ | `typescript-language-server` |
|
||||
| jsdoc | ✓ | | | |
|
||||
| json | ✓ | | ✓ | `vscode-json-language-server` |
|
||||
| jsx | ✓ | | ✓ | `typescript-language-server` |
|
||||
| julia | ✓ | | | `julia` |
|
||||
|
@ -1421,3 +1421,15 @@ indent = { tab-width = 4, unit = " " }
|
||||
[[grammar]]
|
||||
name = "edoc"
|
||||
source = { git = "https://github.com/the-mikedavis/tree-sitter-edoc", rev = "1691ec0aa7ad1ed9fa295590545f27e570d12d60" }
|
||||
|
||||
[[language]]
|
||||
name = "jsdoc"
|
||||
scope = "source.jsdoc"
|
||||
injection-regex = "jsdoc"
|
||||
file-types = ["jsdoc"]
|
||||
roots = []
|
||||
indent = { tab-width = 2, unit = " " }
|
||||
|
||||
[[grammar]]
|
||||
name = "jsdoc"
|
||||
source = { git = "https://github.com/tree-sitter/tree-sitter-jsdoc", rev = "189a6a4829beb9cdbe837260653b4a3dfb0cc3db" }
|
||||
|
2
runtime/queries/jsdoc/highlights.scm
Normal file
2
runtime/queries/jsdoc/highlights.scm
Normal file
@ -0,0 +1,2 @@
|
||||
(tag_name) @keyword
|
||||
(type) @type
|
Loading…
Reference in New Issue
Block a user