import { nvim_win_close } from "https://deno.land/x/denops_std@v6.4.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.