Skip to main content
Deno 2 is finally here ๐ŸŽ‰๏ธ
Learn more
Module

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

๐Ÿ“š Standard module for denops.vim
Go to Latest
function nvim_win_close
import { nvim_win_close } from "https://deno.land/x/denops_std@v3.9.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>