tpope / vim-commentary

commentary.vim: comment stuff out
http://www.vim.org/scripts/script.php?script_id=3695
5.9k stars 214 forks source link

Use CSS-style comments in HTML <style> tags #139

Open skuzzymiglet opened 3 years ago

skuzzymiglet commented 3 years ago

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

amit777 commented 3 years ago

Did you ever figure out a solution for this?

amit777 commented 3 years ago

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

robiXxu commented 1 year ago

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