docs: type fixes #34831

This commit is contained in:
phanium
2025-07-08 09:56:22 +08:00
committed by GitHub
parent bf9d3e4bf8
commit f576b59a09
5 changed files with 9 additions and 9 deletions

View File

@@ -246,12 +246,12 @@ error('Cannot require a meta file')
--- @field end_col? integer
--- @field hl_group? any
--- @field virt_text? any[]
--- @field virt_text_pos? string
--- @field virt_text_pos? "eol"|"eol_right_align"|"overlay"|"right_align"|"inline"
--- @field virt_text_win_col? integer
--- @field virt_text_hide? boolean
--- @field virt_text_repeat_linebreak? boolean
--- @field hl_eol? boolean
--- @field hl_mode? string
--- @field hl_mode? "replace"|"combine"|"blend"
--- @field invalidate? boolean
--- @field ephemeral? boolean
--- @field priority? integer
@@ -260,7 +260,7 @@ error('Cannot require a meta file')
--- @field virt_lines? any[]
--- @field virt_lines_above? boolean
--- @field virt_lines_leftcol? boolean
--- @field virt_lines_overflow? string
--- @field virt_lines_overflow? "trunc"|"scroll"
--- @field strict? boolean
--- @field sign_text? string
--- @field sign_hl_group? integer|string

View File

@@ -153,7 +153,7 @@
--- list number in the quickfix stack; zero
--- means the current quickfix list and "$" means
--- the last quickfix list.
--- @field nr? integer
--- @field nr? integer|'$'
---
--- function to get the text to display in the
--- quickfix window. The value can be the name of

View File

@@ -688,7 +688,7 @@ end
---
---@see |vim.isarray()|
---
---@param t? table
---@param t? any
---@return boolean `true` if list-like table, else `false`.
function vim.islist(t)
if type(t) ~= 'table' then