-
-
Notifications
You must be signed in to change notification settings - Fork 167
Closed as not planned
Closed as not planned
Copy link
Labels
wontfixThis will not be worked onThis will not be worked on
Description
Hi @numToStr, in the process of trying to comment out a block of css inside of an html file (inside of <style> tag), the html comment string is used <!-- %s -->
instead of the css comment string /* %s */
. this bug happens for both linewise and blockwise comments.
<!DOCTYPE html>
<html>
<head>
<title>Comment.nvim bug</title>
<style>
<!-- body { -->
background: #f7f7f8;
font-family: Inter,Roobert,Helvetica Neue,Helvetica,Arial,sans-serif;
}
</style>
</head>
<body>
</html>
if you start your selection from the second line after the <style> tag the plugin works perfectly.
<!DOCTYPE html>
<html>
<head>
<title>Comment.nvim bug</title>
<style>
body {
/* background: #f7f7f8; */
/* font-family: Inter,Roobert,Helvetica Neue,Helvetica,Arial,sans-serif; */
/* } */
</style>
</head>
<body>
</html>
Metadata
Metadata
Assignees
Labels
wontfixThis will not be worked onThis will not be worked on