Skip to content

Commit

Permalink
Merge pull request #1525 from NickyMeuleman/windowtypes
Browse files Browse the repository at this point in the history
  • Loading branch information
CKolkey authored Oct 28, 2024
2 parents 5145032 + be267c6 commit c2796c2
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion lua/neogit/config.lua
Original file line number Diff line number Diff line change
Expand Up @@ -79,10 +79,16 @@ function M.get_user_mappings(set)
end

---@alias WindowKind
---| "replace" Like :enew
---| "tab" Open in a new tab
---| "split" Open in a split
---| "split_above" Like :top split
---| "split_above_all" Like :top split
---| "split_below" Like :below split
---| "split_below_all" Like :below split
---| "vsplit" Open in a vertical split
---| "floating" Open in a floating window
---| "tab" Open in a new tab
---| "auto" vsplit if window would have 80 cols, otherwise split

---@class NeogitCommitBufferConfig Commit buffer options
---@field kind WindowKind The type of window that should be opened
Expand Down

0 comments on commit c2796c2

Please sign in to comment.