Skip to content

Commit

Permalink
Add a few comments
Browse files Browse the repository at this point in the history
  • Loading branch information
nat-418 committed Oct 8, 2022
1 parent de1590b commit bd8fd32
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions lua/bufala.lua
Original file line number Diff line number Diff line change
Expand Up @@ -85,6 +85,9 @@ M.split = function(direction, name)
return splitDown()
end

-- TODO: figure out how to correctly find "last created split" instead
-- of `windo $`, therfore enabling spiral and dwindle layouts.

if direction == 'up' then return splitUp() end
if direction == 'down' then return splitUp() end
if direction == 'left' then return splitLeft() end
Expand Down Expand Up @@ -149,3 +152,4 @@ M.setup = function(opts)
end

return M

0 comments on commit bd8fd32

Please sign in to comment.