Skip to content

Commit

Permalink
hard code insideInline boolean instead of inverting it
Browse files Browse the repository at this point in the history
  • Loading branch information
tjex committed Apr 5, 2024
1 parent 37ea59a commit d363631
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion internal/adapter/lsp/document.go
Original file line number Diff line number Diff line change
Expand Up @@ -323,7 +323,7 @@ func (d *document) DocumentLinks() ([]documentLink, error) {
// if there are an odd number of back ticks, the state of insideInline
// for the following link will be true
if strings.Count(line, "`")%2 == 1 {
insideInline = !insideInline
insideInline = true
}
}

Expand Down

0 comments on commit d363631

Please sign in to comment.