symbol indent level for embedded struct

pull/199/head
ray-x 2 years ago
parent f856fa7033
commit 1b3a02df3e

@ -98,7 +98,7 @@ M.document_symbol_handler = function(err, result, ctx)
child.uri = uri
child.lnum = child.range.start.line + 1
child.detail = c.detail or ''
child.indent_level = 2
child.indent_level = item.indent_level + 1
child.text = '' .. ckind .. '' .. child.name .. ' ' .. child.detail
table.insert(locations, child)
end

Loading…
Cancel
Save