mirror of
https://github.com/Myzel394/config-lsp.git
synced 2025-06-18 23:15:26 +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/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,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user