mirror of
https://github.com/Myzel394/config-lsp.git
synced 2025-06-18 15:05:28 +02:00
15 lines
313 B
Go
15 lines
313 B
Go
package lsp
|
|
|
|
import (
|
|
"config-lsp/handlers/wireguard"
|
|
|
|
"github.com/tliron/glsp"
|
|
protocol "github.com/tliron/glsp/protocol_3_16"
|
|
)
|
|
|
|
func TextDocumentDidClose(context *glsp.Context, params *protocol.DidCloseTextDocumentParams) error {
|
|
delete(wireguard.DocumentParserMap, params.TextDocument.URI)
|
|
|
|
return nil
|
|
}
|