feat: Pass in the buffer number for symbols.icon_fetcher

This commit is contained in:
~hedy
2024-07-05 12:51:48 +08:00
parent 028e0bc8ad
commit bc58f196ec
4 changed files with 57 additions and 6 deletions

View File

@@ -37,7 +37,7 @@ local function parse_result(result, depth, hierarchy, parent, bufnr)
local node = {
deprecated = value.deprecated,
kind = value.kind,
icon = symbols.icon_from_kind(value.kind),
icon = symbols.icon_from_kind(value.kind, bufnr),
name = value.name or value.text,
detail = value.detail,
line = selectionRange.start.line,