diff --git a/lua/vim.moon b/lua/vim.moon index 5f5a19e..758e433 100644 --- a/lua/vim.moon +++ b/lua/vim.moon @@ -9,7 +9,7 @@ tree = (tab, pref='') -> io.write last and "└─" or "├─" switch type element when "table" - tree element, last and ' ' or '│ ' + tree element, pref .. (last and ' ' or '│ ') else print tostring element