diff --git a/internal/adapter/lsp/document.go b/internal/adapter/lsp/document.go index 784c4f81..e0df263c 100644 --- a/internal/adapter/lsp/document.go +++ b/internal/adapter/lsp/document.go @@ -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 } }