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.
This commit is contained in:
@@ -33,5 +33,13 @@ local function setup()
|
|||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
|
local function define_globals()
|
||||||
|
-- Define Pick function
|
||||||
|
Pick = require('data.func').pick
|
||||||
|
end
|
||||||
|
|
||||||
-- Run Setup function
|
-- Run Setup function
|
||||||
setup()
|
setup()
|
||||||
|
|
||||||
|
-- Define Global Functions
|
||||||
|
define_globals()
|
||||||
|
|||||||
Reference in New Issue
Block a user