Skip to main content
Using Deno in production at your company? Earn free Deno merch.
Give us feedback
Module

x/denops_std/function/vim/mod.ts>popup_hide

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

If {id} is a displayed popup, hide it now. If the popup has a filter it will not be invoked for so long as the popup is hidden. If window {id} does not exist nothing happens. If window {id} exists but is not a popup window an error is given. If popup window {id} contains a terminal an error is given.

Can also be used as a method:

GetPopup()->popup_hide()

Parameters

denops: Denops
id: unknown

Returns

Promise<void>