From f6074cc19863641a46e2b97cce54de919e12669a Mon Sep 17 00:00:00 2001 From: rootiest Date: Sat, 8 Feb 2025 20:16:03 -0500 Subject: [PATCH] add new picking global (Pick) this allows you to run `Pick` instead of `require('data.func').pick` Makes accessing the picker function easier/quicker/cleaner. This is now implemented throughout the config. --- lua/config/postopts.lua | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/lua/config/postopts.lua b/lua/config/postopts.lua index c394dc1..452f36c 100644 --- a/lua/config/postopts.lua +++ b/lua/config/postopts.lua @@ -33,5 +33,13 @@ local function setup() end end +local function define_globals() + -- Define Pick function + Pick = require('data.func').pick +end + -- Run Setup function setup() + +-- Define Global Functions +define_globals()