chore: fix lua doc type definition for buffer[number]

This commit is contained in:
JuanZoran 2023-03-27 11:43:07 +08:00
parent 8f6e871a55
commit 0fa87770e7

View File

@ -2,7 +2,7 @@ local api, fn = vim.api, vim.fn
---@class TransBuffer
---@field bufnr integer buffer handle
---@field [number] string|TransNode? buffer[line] content
---@field [number] string|TransNode|TransNode[] buffer[line] content
local buffer = {}
-- INFO : corountine can't invoke C function