From d7c52fc31e233e97d80a5340cf2a1c451ae465af Mon Sep 17 00:00:00 2001 From: Paul Buetow Date: Fri, 22 Aug 2025 23:39:56 +0300 Subject: remove busy check --- internal/lsp/document.go | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'internal/lsp/document.go') diff --git a/internal/lsp/document.go b/internal/lsp/document.go index 17d2fb9..a5ece7e 100644 --- a/internal/lsp/document.go +++ b/internal/lsp/document.go @@ -6,8 +6,6 @@ import ( "time" ) -// --- Document store and helpers --- - type document struct { uri string text string @@ -38,6 +36,7 @@ func (s *Server) getDocument(uri string) *document { return s.docs[uri] } +// splitLines splits the input string into lines, normalizing line endings to '\n'. func splitLines(sx string) []string { sx = strings.ReplaceAll(sx, "\r\n", "\n") return strings.Split(sx, "\n") -- cgit v1.2.3