casey / just

🤖 Just a command runner
https://just.systems
Creative Commons Zero v1.0 Universal
18.89k stars 430 forks source link

Neovim syntax highlighting not working when adding Documentation Comment #2224

Closed vincentvdk closed 1 week ago

vincentvdk commented 3 weeks ago

When adding a Documentation Comment in neovim, the syntax highlighting breaks for everything below.

Example

image

casey commented 3 weeks ago

Which syntax highlighting plugin are you using?

laniakea64 commented 3 weeks ago

This looks similar to https://github.com/NoahTheDuke/vim-just/issues/97 where the culprit turned out to be nvim-treesitter / tree-sitter-just. But https://github.com/IndianBoy42/tree-sitter-just/issues/164 was closed via PR, so try updating to the latest version?

vincentvdk commented 1 week ago

Updating both Treesitter and tree-sitter-just fixed it. Thanks!