From 0b7b1684d87b7d0b01b5645713b413e317699fd0 Mon Sep 17 00:00:00 2001 From: amelia squires Date: Tue, 22 Oct 2024 23:40:30 -0500 Subject: readme --- fnl/plugins/wilder.fnl | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 fnl/plugins/wilder.fnl (limited to 'fnl/plugins/wilder.fnl') diff --git a/fnl/plugins/wilder.fnl b/fnl/plugins/wilder.fnl new file mode 100644 index 0000000..56b4155 --- /dev/null +++ b/fnl/plugins/wilder.fnl @@ -0,0 +1,21 @@ +(local gradient [:#74d7ec :#96cde2 :#b9c3d9 :#dcb9d0 :#ffafc7 :#ffafc7 :#fec1d2 :#fdd4de + :#fce6e9 :#fbf9f5 :#fbf9f5 :#fce8ea :#fdd7e0 :#fec6d5 :#ffb5cb :#ffb5cb :#dcbdd2 :#b9c5da + :#96cde2 :#73d5ea]) + +(local wilder (require :wilder)) +(wilder.setup {:modes [:: :/ :?]}) + +;this like 'builds' the gradient? idk +(each [i fg (ipairs gradient)] + (tset gradient i + (wilder.make_hl (.. :WilderGradient i) :Pmenu [{:a 1} {:a 1} {:foreground fg}]))) + +(wilder.set_option :renderer (wilder.wildmenu_renderer { + :separator " . " + :left [" "] + :right [" "] + + :highlights {:gradient gradient} + + :highlighter (wilder.highlighter_with_gradient [ + (wilder.basic_highlighter)])})) -- cgit v1.2.3