diff options
| author | Santos Gallegos <stsewd@protonmail.com> | 2021-03-27 10:51:16 -0500 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2021-03-27 10:51:16 -0500 |
| commit | 0df7c4aa39a6097e112f001520d2cea257440ed7 (patch) | |
| tree | 64743ee563e3f59a975c535df1807d86b164d1ca /lua | |
| parent | highlights(rust): Highlight dereferenced closure parameters (diff) | |
| download | nvim-treesitter-0df7c4aa39a6097e112f001520d2cea257440ed7.tar nvim-treesitter-0df7c4aa39a6097e112f001520d2cea257440ed7.tar.gz nvim-treesitter-0df7c4aa39a6097e112f001520d2cea257440ed7.tar.bz2 nvim-treesitter-0df7c4aa39a6097e112f001520d2cea257440ed7.tar.lz nvim-treesitter-0df7c4aa39a6097e112f001520d2cea257440ed7.tar.xz nvim-treesitter-0df7c4aa39a6097e112f001520d2cea257440ed7.tar.zst nvim-treesitter-0df7c4aa39a6097e112f001520d2cea257440ed7.zip | |
Fix jsdoc: play nice with the comment parser (#1108)
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
Diffstat (limited to 'lua')
0 files changed, 0 insertions, 0 deletions
