refactor(lua): use tuple syntax everywhere #29111

This commit is contained in:
Ilia Choly
2024-06-04 09:06:02 -04:00
committed by GitHub
parent 61025c9e7a
commit 8cbb1f20e5
24 changed files with 53 additions and 54 deletions

View File

@@ -348,7 +348,7 @@ api.nvim_set_decoration_provider(namespace, {
text = text .. part.value
end
end
local vt = {} --- @type {[1]: string, [2]: string?}[]
local vt = {} --- @type [string, string?][]
if hint.paddingLeft then
vt[#vt + 1] = { ' ' }
end