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