feat: move themes to their own subfolder, switch to rosepine
This commit is contained in:
parent
0abefb3bdd
commit
452c48d627
13 changed files with 174 additions and 157 deletions
|
|
@ -12,4 +12,8 @@ if not vim.loop.fs_stat(lazypath) then
|
|||
end
|
||||
vim.opt.rtp:prepend(lazypath)
|
||||
|
||||
require("lazy").setup({ { import = "weeheavy.plugins" }, { import = "weeheavy.plugins.lsp" } })
|
||||
require("lazy").setup({
|
||||
{ import = "weeheavy.plugins" },
|
||||
{ import = "weeheavy.plugins.lsp" },
|
||||
{ import = "weeheavy.plugins.theme" },
|
||||
})
|
||||
|
|
|
|||
|
|
@ -11,7 +11,7 @@ return {
|
|||
end,
|
||||
set_light_mode = function()
|
||||
vim.api.nvim_set_option_value("background", "light", {})
|
||||
vim.cmd("colorscheme tokyonight-day")
|
||||
vim.cmd("colorscheme rose-pine-dawn")
|
||||
end,
|
||||
},
|
||||
config = function()
|
||||
|
|
|
|||
9
lua/weeheavy/plugins/theme/newpaper.lua
Normal file
9
lua/weeheavy/plugins/theme/newpaper.lua
Normal file
|
|
@ -0,0 +1,9 @@
|
|||
return {
|
||||
"yorik1984/newpaper.nvim",
|
||||
branch = "main",
|
||||
lazy = false,
|
||||
enabled = false,
|
||||
priority = 1000,
|
||||
config = true,
|
||||
opts = {},
|
||||
}
|
||||
|
|
@ -3,7 +3,7 @@ return {
|
|||
name = "rose-pine",
|
||||
branch = "main",
|
||||
lazy = false,
|
||||
enabled = false,
|
||||
enabled = true,
|
||||
priority = 1000,
|
||||
opts = {},
|
||||
}
|
||||
|
|
@ -54,7 +54,9 @@ vim.opt.background = "dark" -- light, dark
|
|||
-- tokyonight-storm
|
||||
-- tokyonight-day
|
||||
-- tokyonight-moon
|
||||
vim.cmd.colorscheme("tokyonight-storm")
|
||||
-- vim.cmd.colorscheme("tokyonight-storm")
|
||||
vim.cmd.colorscheme("rose-pine-dawn")
|
||||
-- vim.cmd.colorscheme("newpaper")
|
||||
|
||||
-- Decrease update time
|
||||
vim.opt.updatetime = 250
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue