vim-commentary icon indicating copy to clipboard operation
vim-commentary copied to clipboard

Use CSS-style comments in HTML <style> tags

Open skuzzymiglet opened this issue 4 years ago • 3 comments

gcc etc. use HTML <!-- comments on CSS in style tags. I think it would be preferable to use /* CSS-style comments. It would be easier to transfer the styles to their own files and generally avoid having to make the context-switch from CSS to HTML

skuzzymiglet avatar Dec 18 '20 13:12 skuzzymiglet

Did you ever figure out a solution for this?

amit777 avatar Mar 27 '21 23:03 amit777

Actually, i just tried out tcomment_vim that is referenced in the README and it seems to handle the html files well.

amit777 avatar Mar 27 '21 23:03 amit777

I tried tcomment_vim too however I still get <!-- html comments inside style tags & script tags

robiXxu avatar Feb 04 '23 09:02 robiXxu