Skip to content

Commit

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

0 comments on commit 653876d

Please sign in to comment.