mirror of
https://github.com/neovim/neovim.git
synced 2025-11-03 09:14:24 +00:00
docs: type fixes #34831
This commit is contained in:
6
runtime/lua/vim/_meta/api_keysets.lua
generated
6
runtime/lua/vim/_meta/api_keysets.lua
generated
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user