mirror of
https://github.com/neovim/neovim
synced 2025-07-16 09:11:51 +00:00
@ -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
|
||||
|
||||
|
Reference in New Issue
Block a user