From e4abae7b497f424fe109075748da61363231d730 Mon Sep 17 00:00:00 2001 From: Heyward Fann Date: Wed, 26 Jun 2024 09:56:15 +0800 Subject: [PATCH] feat(typings): more options in NvimFloatOptions (#5058) --- typings/index.d.ts | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/typings/index.d.ts b/typings/index.d.ts index e5c3e099b3f..908fd8d8591 100644 --- a/typings/index.d.ts +++ b/typings/index.d.ts @@ -3812,8 +3812,17 @@ declare module 'coc.nvim' { export interface NvimFloatOptions { standalone?: boolean focusable?: boolean - relative?: 'editor' | 'cursor' | 'win' + relative?: 'editor' | 'cursor' | 'win' | 'mouse' anchor?: 'NW' | 'NE' | 'SW' | 'SE' + border?: 'none' | 'single' | 'double' | 'rounded' | 'solid' | 'shadow' | string[] + style?: 'minimal' + title?: string + title_pos?: 'left' | 'center' | 'right' + footer?: string | [string, string][] + footer_pos?: 'left' | 'center' | 'right' + noautocmd?: boolean + fixed?: boolean + hide?: boolean height: number width: number row: number