Skip to content

Commit

Permalink
ui: swap type in ui buffer line
Browse files Browse the repository at this point in the history
swaps the type portion of the ui buffer line to be infront of the symbol
name

Signed-off-by: ldelossa <[email protected]>
  • Loading branch information
ldelossa committed Nov 20, 2021
1 parent 202898f commit d6a38b3
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions lua/calltree/ui/marshal.lua
Original file line number Diff line number Diff line change
Expand Up @@ -49,13 +49,13 @@ function M.marshal_node(node)
end

-- ▶ Func1
str = str .. glyph .. " " .. name
str = str .. glyph
if ct.config.icons ~= "none" then
-- ▶ Func1 []
str = str .. " " .. "[" .. ct.active_icon_set[kind] .. "]" .. " "
str = str .. " " .. "[" .. ct.active_icon_set[kind] .. "]" .. " " .. name .. " "
else
-- ▶ Func1 • [Function]
str = str .. M.glyphs.separator .. " " .. "[" .. kind .. "]" .. " "
str = str .. " " .. "[" .. kind .. "]" .. " " .. M.glyphs.separator .. " " .. name .. " "
end

if ct.config.layout == "bottom" or
Expand Down

0 comments on commit d6a38b3

Please sign in to comment.