Update symbols.lua

pull/193/head
rayx 2 years ago committed by GitHub
parent 1d4b50bf7a
commit 5c35f35c6f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -66,8 +66,7 @@ M.document_symbol_handler = function(err, result, ctx)
item.name = result[i].name
item.range = result[i].range or result[i].location.range
if item.range == nil then
item.range = {}
log(result[i])
log("range missing in result", result[i])
end
item.uri = uri
item.selectionRange = result[i].selectionRange

Loading…
Cancel
Save