From d363631d5a6b6cda6d54d4ccc99a5b133ad80c45 Mon Sep 17 00:00:00 2001 From: tjex Date: Fri, 5 Apr 2024 14:30:27 +1100 Subject: [PATCH] hard code insideInline boolean instead of inverting it --- internal/adapter/lsp/document.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 } }