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