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 cf4b8f7
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 0 deletions.
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 cf4b8f7

Please sign in to comment.