Skip to content

Commit

Permalink
feat(typings): more options in NvimFloatOptions (#5058)
Browse files Browse the repository at this point in the history
  • Loading branch information
fannheyward authored Jun 26, 2024
1 parent b3cbba4 commit e4abae7
Showing 1 changed file with 10 additions and 1 deletion.
11 changes: 10 additions & 1 deletion typings/index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit e4abae7

Please sign in to comment.