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

x/denops_std/function/vim/popup_create.ts>PopupProp

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

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

Properties

col: number

starting column, counted in bytes, use one for the first column.

length: number

length of text in bytes; can be zero

end_lnum: number

line number for the end of the text

end_col: number

column just after the text; not used when "length is present; when {col} and "end_col are equal, this is a zero-width text property

id: number

user defined ID for the property; when omitted zero is used

type: string

name of the text property type, as added with prop_type_add()