chore(hosts): Remove println

This commit is contained in:
Myzel394 2024-09-29 21:18:54 +02:00
parent f5aa4ae7cc
commit d4e8269844
No known key found for this signature in database
GPG Key ID: DEC4AAB876F73185

View File

@ -7,7 +7,6 @@ import (
"config-lsp/handlers/hosts/ast" "config-lsp/handlers/hosts/ast"
"config-lsp/handlers/hosts/indexes" "config-lsp/handlers/hosts/indexes"
"config-lsp/utils" "config-lsp/utils"
"fmt"
"github.com/tliron/glsp" "github.com/tliron/glsp"
protocol "github.com/tliron/glsp/protocol_3_16" protocol "github.com/tliron/glsp/protocol_3_16"
@ -30,7 +29,6 @@ func TextDocumentDidOpen(
errors := parser.Parse(params.TextDocument.Text) errors := parser.Parse(params.TextDocument.Text)
diagnostics := make([]protocol.Diagnostic, 0) diagnostics := make([]protocol.Diagnostic, 0)
println(fmt.Sprintf("Errors: %v", errors))
if len(errors) > 0 { if len(errors) > 0 {
diagnostics = utils.Map( diagnostics = utils.Map(
errors, errors,