Skip to content

Commit

Permalink
add tree-sitter-jsdoc
Browse files Browse the repository at this point in the history
  • Loading branch information
the-mikedavis committed Jun 2, 2022
1 parent 4f3d0a7 commit 3ed8570
Show file tree
Hide file tree
Showing 3 changed files with 15 additions and 0 deletions.
1 change: 1 addition & 0 deletions book/src/generated/lang-support.md
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,7 @@
| iex || | | |
| java || | | `jdtls` |
| javascript || || `typescript-language-server` |
| jsdoc || | | |
| json || || `vscode-json-language-server` |
| jsx || || `typescript-language-server` |
| julia || | | `julia` |
Expand Down
12 changes: 12 additions & 0 deletions languages.toml
Original file line number Diff line number Diff line change
Expand Up @@ -1409,3 +1409,15 @@ injection-regex = "verilog"
[[grammar]]
name = "verilog"
source = { git = "https://github.com/andreytkachenko/tree-sitter-verilog", rev = "514d8d70593d29ef3ef667fa6b0e504ae7c977e3" }

[[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 changes: 2 additions & 0 deletions runtime/queries/jsdoc/highlights.scm
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
(tag_name) @keyword
(type) @type

0 comments on commit 3ed8570

Please sign in to comment.