diff --git a/lua/dropbar/sources/markdown.lua b/lua/dropbar/sources/markdown.lua index 0bc355a6..b44d569a 100644 --- a/lua/dropbar/sources/markdown.lua +++ b/lua/dropbar/sources/markdown.lua @@ -161,7 +161,7 @@ local function convert(symbol, symbols, list_idx, buf) return self.children end if k == 'siblings' or k == 'sibling_idx' then - self.siblings = { self } + self.siblings = { convert(symbol, symbols, list_idx, buf) } for i = list_idx - 1, 1, -1 do if symbols[i].level < symbol.level then break