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

x/denops_std/popup/types.ts>Border

๐Ÿ“š Standard module for denops.vim
Go to Latest
type alias Border
import { type Border } from "https://deno.land/x/denops_std@v6.5.0/popup/types.ts";

Border style of the popup:

  • "single" Single line border
  • "double" Double line border
  • "rounded" Rounded border
  • [topleft, top, topright, right, botright, bottom, botleft, left] array for Custom border style

Custom border style:

Each character in the list is used for the corresponding position.

  • "topleft" top left corner
  • "top" top side
  • "topright" top right corner
  • "right" right side
  • "botright" bottom right corner
  • "bottom" bottom side
  • "botleft" bottom left corner
  • "left" left side An empty string can be used to turn off a specific border, for instance, ["", "", "", ">", "", "", "", "<" ] will only make vertical borders but not horizontal ones.
definition:
| "single"
| "double"
| "rounded"
| readonly
[
string,
string,
string,
string,
string,
string,
string,
string,
]