1
0
Fork 0
mirror of synced 2024-11-01 00:08:57 -04:00
ultimate-vim/sources_non_forked/markdown-preview.nvim/app/lib/attach/index.d.ts

21 lines
500 B
TypeScript
Raw Normal View History

2022-05-19 08:12:11 -04:00
import { Attach, NeovimClient } from '@chemzqm/neovim';
interface IApp {
refreshPage: ((param: {
bufnr: number | string;
data: any;
}) => void);
closePage: ((params: {
bufnr: number | string;
}) => void);
closeAllPages: (() => void);
openBrowser: ((params: {
bufnr: number | string;
}) => void);
}
interface IPlugin {
init: ((app: IApp) => void);
nvim: NeovimClient;
}
export default function (options: Attach): IPlugin;
export {};