Skip to content

Commit

Permalink
fix: hightlighting breaks after single line doc (#92)
Browse files Browse the repository at this point in the history
* fix: hightlighting breaks after single line doc
  • Loading branch information
pdm-jd authored Jan 10, 2025
1 parent 948481c commit 77ed588
Showing 1 changed file with 1 addition and 14 deletions.
15 changes: 1 addition & 14 deletions syntaxes/elixir.json
Original file line number Diff line number Diff line change
Expand Up @@ -154,26 +154,13 @@
"begin": "@(?:module|type)?doc \"",
"comment": "@doc with string is treated as documentation",
"end": "\"",
"name": "documentation.string",
"beginCaptures": {
"0": {
"name": "comment"
}
},
"endCaptures": {
"0": {
"name": "comment"
}
},
"name": "comment.documentation.string",
"patterns": [
{
"include": "#interpolated_elixir"
},
{
"include": "#escaped_char"
},
{
"include": "text.html.markdown"
}
]
},
Expand Down

0 comments on commit 77ed588

Please sign in to comment.