Documentation ¶
Overview ¶
Package server implements a new Nvim server with low-level nvim rpc-connecting.
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var DefaultDialer = func(ctx context.Context, network, address string) (net.Conn, error) { return (&net.Dialer{ Timeout: 30 * time.Second, KeepAlive: 30 * time.Second, DualStack: true, }).DialContext(ctx, network, address) }
View Source
var DefaultLogFunc = func(ctx context.Context) func(string, ...interface{}) { return func(format string, a ...interface{}) { logger.FromContext(ctx).Info(fmt.Sprintf(format, a)) } }
Functions ¶
Types ¶
Click to show internal directories.
Click to hide internal directories.