mirror of
https://github.com/Myzel394/config-lsp.git
synced 2025-06-18 23:15:26 +02:00
21 lines
423 B
Go
21 lines
423 B
Go
package lsp
|
|
|
|
import (
|
|
"github.com/tliron/glsp"
|
|
protocol "github.com/tliron/glsp/protocol_3_16"
|
|
)
|
|
|
|
func TextDocumentHover(
|
|
context *glsp.Context,
|
|
params *protocol.HoverParams,
|
|
) (*protocol.Hover, error) {
|
|
// line := params.Position.Line
|
|
// cursor := params.Position.Character
|
|
//
|
|
// d := sshdconfig.DocumentParserMap[params.TextDocument.URI]
|
|
//
|
|
// entry, matchBlock := d.Config.FindOption(line)
|
|
|
|
return nil, nil
|
|
}
|