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

x/denops_std/function/vim/popup_create.ts

๐Ÿ“š Standard module for denops.vim
Go to Latest
import * as denopsStd from "https://deno.land/x/denops_std@v6.3.0/function/vim/popup_create.ts";

Functions

Open a popup window showing {what}, which is either:

  • a buffer number
  • a string
  • a list of strings
  • a list of text lines with text properties When {what} is not a buffer number, a buffer is created with 'buftype' set to "popup". That buffer will be wiped out once the popup closes.

Interfaces

These are similar to the third argument of |prop_add()| except:

  • "lnum" is always the current line in the list
  • "bufnr" is always the buffer of the popup
  • "col" is in the Dict instead of a separate argument