Skip to content

Commit

Permalink
Revert "simplify heredoc capture attributes"
Browse files Browse the repository at this point in the history
This reverts commit 653876d.
  • Loading branch information
Blond11516 committed Dec 17, 2024
1 parent 653876d commit f89b920
Showing 1 changed file with 30 additions and 5 deletions.
35 changes: 30 additions & 5 deletions syntaxes/elixir.json
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,12 @@
"comment": "@doc with interpolated heredocs",
"end": "\\s*\"\"\"",
"name": "documentation.heredoc.elixir",
"captures": {
"beginCaptures": {
"0": {
"name": "comment"
}
},
"endCaptures": {
"0": {
"name": "comment"
}
Expand All @@ -46,7 +51,12 @@
"comment": "@doc with interpolated single quoted heredocs",
"end": "\\s*'''",
"name": "documentation.heredoc.elixir",
"captures": {
"beginCaptures": {
"0": {
"name": "comment"
}
},
"endCaptures": {
"0": {
"name": "comment"
}
Expand All @@ -68,7 +78,12 @@
"comment": "@doc with heredocs is treated as documentation",
"end": "\\s*\"\"\"",
"name": "documentation.heredoc.elixir",
"captures": {
"beginCaptures": {
"0": {
"name": "comment"
}
},
"endCaptures": {
"0": {
"name": "comment"
}
Expand All @@ -87,7 +102,12 @@
"comment": "@doc with heredocs is treated as documentation",
"end": "\\s*'''",
"name": "documentation.heredoc.elixir",
"captures": {
"beginCaptures": {
"0": {
"name": "comment"
}
},
"endCaptures": {
"0": {
"name": "comment"
}
Expand All @@ -111,7 +131,12 @@
"comment": "@doc with string is treated as documentation",
"end": "\"",
"name": "documentation.string",
"captures": {
"beginCaptures": {
"0": {
"name": "comment"
}
},
"endCaptures": {
"0": {
"name": "comment"
}
Expand Down

0 comments on commit f89b920

Please sign in to comment.