Skip to content

Commit

Permalink
add a note
Browse files Browse the repository at this point in the history
  • Loading branch information
patrickdevivo committed May 30, 2020
1 parent 9ad97e9 commit c4ce6c6
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion pkg/comments/languages.go
Original file line number Diff line number Diff line change
Expand Up @@ -64,5 +64,8 @@ var LanguageParseOptions map[Language]*lege.ParseOptions = map[Language]*lege.Pa
// so lines beginning with /// or //! will be picked up by this start // and include a / or ! preceding the comment
"Rust": {Boundaries: []lege.Boundary{{Start: "///", End: "\n"}, {Start: "//!", End: "\n"}, {Start: "//", End: "\n"}}},
"Kotlin": CStyleCommentOptions,
"Julia": {Boundaries: []lege.Boundary{{Start: "#=", End: "=#"}, {Start: "#", End: "\n"}}},

// TODO unfortunately, lege does't seem to handle the below boundaries very well, similar issue as to above I believe. Something with precendance?
// Multi-line comments are not getting picked up...
"Julia": {Boundaries: []lege.Boundary{{Start: "#=", End: "=#"}, {Start: "#", End: "\n"}}},
}

0 comments on commit c4ce6c6

Please sign in to comment.