Skip to content

Commit c962452

Browse files
committed
Fix erb block comments
1 parent e695318 commit c962452

2 files changed

Lines changed: 9 additions & 2 deletions

File tree

CHANGELOG.md

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,13 @@
11
# CHANGELOG
22
## master (Unreleased)
3-
-
3+
- Fix `erb` block comments to add `<%#` to each line
4+
```erb
5+
<ul>
6+
<%# <% @foos.each do |foo| %>
7+
<%# <li><%= foo %></li>
8+
<%# <% end %>
9+
</ul>
10+
```
411

512
## 1.0.0 (2025-05-22)
613
- Update repository with a few changes mainly from `ruby-lsp` and `textmate`:

language-configuration-erb.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"comments": {
3-
"blockComment": [ "<!--", "-->" ]
3+
"lineComment": "<%#"
44
},
55
"brackets": [
66
["{", "}"],

0 commit comments

Comments
 (0)