summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGustaf Rydholm <gustaf.rydholm@gmail.com>2024-02-26 20:38:11 +0100
committerGustaf Rydholm <gustaf.rydholm@gmail.com>2024-02-26 20:38:11 +0100
commit9c1e99cd5eac3c8edab3759cfa0708f4d850d950 (patch)
tree5e9880eee6311be7c2cfc7e9471aa5b216feaebf
parent8db7db3ddbc7ee2dfc044e70d6db963239fa0a86 (diff)
Add nui options to dressing
-rw-r--r--fnl/plugins/dressing.fnl11
1 files changed, 9 insertions, 2 deletions
diff --git a/fnl/plugins/dressing.fnl b/fnl/plugins/dressing.fnl
index 348d74a..7b74bc8 100644
--- a/fnl/plugins/dressing.fnl
+++ b/fnl/plugins/dressing.fnl
@@ -1,6 +1,13 @@
;; UI for inputs
(local opts {:input {:enabled false}
- :select {:backend [:nui :telescope :builtin]}})
+ :select {:backend [:nui :telescope :builtin]}
+ :nui {:position "50%"
+ :relative :editor
+ :border {:style :single}
+ :max_width 128
+ :max_height 64
+ :min_width 64
+ :min_height 20}})
-{1 :stevearc/dressing.nvim :event :BufReadPost : opts}
+{1 :stevearc/dressing.nvim :event :VeryLazy : opts}