feat(view): add option ui.pills. Set to false to disable the top buttons in the lazy window (#938)

* add option `ui.button`

* add option `ui.button`

* refactor: rename button to pills

---------

Co-authored-by: Folke Lemaitre <folke.lemaitre@gmail.com>
This commit is contained in:
3719e04 2023-07-20 16:48:50 -05:00 committed by GitHub
parent 25beed5e2e
commit 84266b9f0f
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 29 additions and 22 deletions

View file

@ -50,6 +50,8 @@ M.defaults = {
border = "none",
title = nil, ---@type string only works when border is not "none"
title_pos = "center", ---@type "center" | "left" | "right"
-- Show pills on top of the Lazy window
pills = true, ---@type boolean
icons = {
cmd = "",
config = "",