Skip to main content
Module

x/denops_std/function/nvim/mod.ts>nvim_ui_attach

📚 Standard module for denops.vim
Latest
function nvim_ui_attach
import { nvim_ui_attach } from "https://deno.land/x/denops_std@v6.5.0/function/nvim/mod.ts";

Activates UI events on the channel.

Entry point of all UI clients. Allows --embed to continue startup. Implies that the client is ready to show the UI. Adds the client to the list of UIs. nvim_list_uis()

Note: If multiple UI clients are attached, the global screen dimensions degrade to the smallest client. E.g. if client A requests 80x40 but client B requests 200x100, the global screen has size 80x40.

Attributes: RPC only

Parameters:

  • {width} Requested screen columns
  • {height} Requested screen rows
  • {options} ui-option map

Parameters

denops: Denops
width: unknown
height: unknown
options: unknown

Returns

Promise<unknown>