Our great sponsors
-
nvim-ts-context-commentstring
Neovim treesitter plugin for setting the commentstring based on the cursor location in a file.
-
vim-context-commentstring
Vim plugin that sets the value of ‘commentstring’ to a different value depending on the region of the file you are in.
-
WorkOS
The modern identity platform for B2B SaaS. The APIs are flexible and easy-to-use, supporting authentication, user identity, and complex enterprise features like SSO and SCIM provisioning.
Ohh I see what you mean. That would be awesome indeed. I created an issue for tracking this idea: https://github.com/JoosepAlviste/nvim-ts-context-commentstring/issues/3
I previously used suy/vim-context-commentstring for dynamically setting the commentstring setting, but since it doesn't really work with treesitter, I decided to create a new version that does work with treesitter.
But I don't think my plugin actually sees injected language nodes at the moment, so injected languages within injected languages probably wouldn't work. I think that this might be related to this issue: https://github.com/nvim-treesitter/nvim-treesitter/issues/1023