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

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

๐Ÿ“š Standard module for denops.vim
Go to Latest
function nvim_win_hide
import { nvim_win_hide } from "https://deno.land/x/denops_std@v4.1.4/function/nvim/mod.ts";

Closes the window and hide the buffer it contains (like |:hide| with a |window-ID|). Like |:hide| the buffer becomes hidden unless another window is editing it, or 'bufhidden' is unload, delete or wipe as opposed to |:close| or |nvim_win_close()|, which will close the buffer. Attributes: ~ not allowed when |textlock| is active Parameters: ~ {window} Window handle, or 0 for current window

Parameters

denops: Denops
window: unknown

Returns

Promise<unknown>