Skip to main content
Module

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

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

Closes the window (like :close with a window-ID).

Attributes: not allowed when textlock is active

Parameters:

  • {window} Window handle, or 0 for current window
  • {force} Behave like :close! The last window of a buffer with unwritten changes can be closed. The buffer will become hidden, even if 'hidden' is not set.

Parameters

denops: Denops
window: unknown
force: unknown

Returns

Promise<unknown>