refactor(lua): rename tbl_islist => islist

ref #24572
This commit is contained in:
Justin M. Keyes
2024-04-21 15:19:43 +02:00
parent 032df963bb
commit d9d890562e
10 changed files with 67 additions and 57 deletions

View File

@ -428,7 +428,7 @@ local function location_handler(_, result, ctx, config)
-- textDocument/definition can return Location or Location[]
-- https://microsoft.github.io/language-server-protocol/specifications/specification-current/#textDocument_definition
if not vim.tbl_islist(result) then
if not vim.islist(result) then
result = { result }
end