Explicit annotation changes 'gc' command in rest of file
When I annotate a string (eg. a neovim-plugin's config with /* lua */, I get proper syntax highlighting only for that string, but now in all of the rest of the file whenever I use gc<motion>, neovim adds -- rather than # in the rest of the file, i.e. the Lua comment-string rather than the Nix comment-string.
Is this happening on a specific nvim version? I can't reproduce it myself on the latest stable or the latest nightly.
I think it happened both on version 0.10 and 0.11, but I think this might be a problem with treesitter-injections, and not this plugin. Other people have had similar issues: https://github.com/nvim-treesitter/nvim-treesitter/issues/2652