Skip to content

Commit c4ce6c6

Browse files
committed
add a note
1 parent 9ad97e9 commit c4ce6c6

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

pkg/comments/languages.go

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,5 +64,8 @@ var LanguageParseOptions map[Language]*lege.ParseOptions = map[Language]*lege.Pa
6464
// so lines beginning with /// or //! will be picked up by this start // and include a / or ! preceding the comment
6565
"Rust": {Boundaries: []lege.Boundary{{Start: "///", End: "\n"}, {Start: "//!", End: "\n"}, {Start: "//", End: "\n"}}},
6666
"Kotlin": CStyleCommentOptions,
67-
"Julia": {Boundaries: []lege.Boundary{{Start: "#=", End: "=#"}, {Start: "#", End: "\n"}}},
67+
68+
// TODO unfortunately, lege does't seem to handle the below boundaries very well, similar issue as to above I believe. Something with precendance?
69+
// Multi-line comments are not getting picked up...
70+
"Julia": {Boundaries: []lege.Boundary{{Start: "#=", End: "=#"}, {Start: "#", End: "\n"}}},
6871
}

0 commit comments

Comments
 (0)