UNPKG

@chemzqm/neovim

Version:

NodeJS client API for vim9 and neovim

11 lines (10 loc) 447 B
import * as child from 'child_process'; import { ILogger } from '../utils/logger'; import { NeovimClient } from './../api/client'; export interface Attach { reader?: NodeJS.ReadableStream; writer?: NodeJS.WritableStream; proc?: NodeJS.Process | child.ChildProcess; socket?: string; } export declare function attach({ reader: _reader, writer: _writer, proc, socket, }: Attach, logger?: ILogger, requestApi?: boolean): NeovimClient;