Documentation ¶
Overview ¶
Package client is used to send remote procedure calls to the server.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Client ¶
type Client struct {
// contains filtered or unexported fields
}
Client for making remote procedure calls to the server.
func (*Client) EndSession ¶
EndSession should be called when the neovim process ends.
func (*Client) FocusGained ¶
FocusGained should be called when a buffer gains focus.
func (*Client) OpenFile ¶
OpenFile should be called when a buffer is opened. The server will check if the path is a valid file.
func (*Client) SendHeartbeat ¶
SendHeartbeat can be called for events such as buffer writes and cursor moves. Its purpose is to notify the server that the current session remains active. The server ends the session if we don't perform any actions for 10 minutes.
Click to show internal directories.
Click to hide internal directories.