Updated themes
This commit is contained in:
@@ -6,16 +6,6 @@ return {
|
||||
event = "User ThemeSwitcher",
|
||||
config = true,
|
||||
},
|
||||
{
|
||||
"yorik1984/newpaper.nvim",
|
||||
priority = 1000,
|
||||
event = "User ThemeSwitcher",
|
||||
config = function()
|
||||
require("newpaper").setup({
|
||||
style = "dark",
|
||||
})
|
||||
end,
|
||||
},
|
||||
{
|
||||
"tiagovla/tokyodark.nvim",
|
||||
priority = 1000,
|
||||
|
||||
@@ -84,15 +84,15 @@ function M.themeselector(opts)
|
||||
vim.cmd("colorscheme " .. selection.value)
|
||||
end,
|
||||
})
|
||||
actions.close:enhance({
|
||||
post = function()
|
||||
local selection = action_state.get_selected_entry()
|
||||
if selection == nil then
|
||||
vim.notify("Error while selecting theme", vim.log.levels.ERROR)
|
||||
end
|
||||
exec(selection.value)
|
||||
end,
|
||||
})
|
||||
-- actions.close:enhance({
|
||||
-- post = function()
|
||||
-- local selection = action_state.get_selected_entry()
|
||||
-- if selection == nil then
|
||||
-- vim.notify("Error while selecting theme", vim.log.levels.ERROR)
|
||||
-- end
|
||||
-- exec(selection.value)
|
||||
-- end,
|
||||
-- })
|
||||
return true
|
||||
end,
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user