Changed function names
This commit is contained in:
@@ -13,7 +13,7 @@ function M.themeselector(opts)
|
||||
local prefsFile = configDir .. "/lua/taken/prefs.lua"
|
||||
|
||||
local themes = themefuncs.getAllThemes()
|
||||
local exec = themefuncs.exec
|
||||
local applytofile = themefuncs.applytofile
|
||||
|
||||
opts = opts or {}
|
||||
pickers
|
||||
@@ -27,7 +27,7 @@ function M.themeselector(opts)
|
||||
actions.select_default:replace(function()
|
||||
actions.close(prompt_bufnr)
|
||||
local selection = action_state.get_selected_entry()
|
||||
exec(selection.value, prefsFile)
|
||||
applytofile(selection.value, prefsFile)
|
||||
end)
|
||||
action_set.shift_selection:enhance({
|
||||
post = function()
|
||||
|
||||
Reference in New Issue
Block a user