mirror of
https://github.com/Myzel394/config-lsp.git
synced 2025-06-18 15:05:28 +02:00
chore(hosts): Remove println
This commit is contained in:
parent
f5aa4ae7cc
commit
d4e8269844
@ -7,7 +7,6 @@ import (
|
||||
"config-lsp/handlers/hosts/ast"
|
||||
"config-lsp/handlers/hosts/indexes"
|
||||
"config-lsp/utils"
|
||||
"fmt"
|
||||
|
||||
"github.com/tliron/glsp"
|
||||
protocol "github.com/tliron/glsp/protocol_3_16"
|
||||
@ -30,7 +29,6 @@ func TextDocumentDidOpen(
|
||||
errors := parser.Parse(params.TextDocument.Text)
|
||||
diagnostics := make([]protocol.Diagnostic, 0)
|
||||
|
||||
println(fmt.Sprintf("Errors: %v", errors))
|
||||
if len(errors) > 0 {
|
||||
diagnostics = utils.Map(
|
||||
errors,
|
||||
|
Loading…
x
Reference in New Issue
Block a user