aboutsummaryrefslogtreecommitdiffstats
path: root/queries/jsdoc
Commit message (Collapse)AuthorAgeFilesLines
* Fix jsdoc: play nice with the comment parser (#1108)Santos Gallegos2021-03-271-1/+0
| | | | | | | | | | | Using separate queries makes it work as expected. Also, for the comment parser to be able to override the other tokens we need to remove the comment from highlights (this shouldn't be a problem since that section is already highlighted as a comment). And, the order of the captures matter, having jsdoc first will have more priority over `@param`. Fixes https://github.com/nvim-treesitter/nvim-treesitter/issues/1069
* feat(js): add jsdoc lang injectionSteven Sojka2020-10-271-0/+3