Comment.nvim
Comment.nvim copied to clipboard
Support templ
Temple allows for commenting go, and html within 1 templ file.
https://github.com/a-h/templ https://templ.guide/commands-and-tools/ide-support
Seems like we need to use github.com/JoosepAlviste/nvim-ts-context-commentstring in order to support different comment styles in different places inside templ components.
I've added basic support for templ to nvim-ts-context-commentstring: https://github.com/JoosepAlviste/nvim-ts-context-commentstring/pull/98. Works just fine