Comment.nvim icon indicating copy to clipboard operation
Comment.nvim copied to clipboard

Support templ

Open Smithx10 opened this issue 2 years ago • 1 comments

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

Smithx10 avatar Oct 06 '23 04:10 Smithx10

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

tommsawyer avatar Mar 16 '24 08:03 tommsawyer