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

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

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

Emergency solution to a misbehaving plugin: close all popup windows for the current tab and global popups. Close callbacks are not invoked. When {force} is not present this will fail if the current window is a popup. When {force} is present and TRUE the popup is also closed when it is the current window. If a terminal is running in a popup it is killed.

Parameters

denops: Denops
optional
force: unknown

Returns

Promise<void>