Skip to main content
Using Deno in production at your company? Earn free Deno merch.
Give us feedback
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.6.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>