Changed function names

This commit is contained in:
2024-10-15 18:00:57 +02:00
parent 89214830e4
commit 8e1a76663e
2 changed files with 4 additions and 4 deletions

View File

@@ -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()