change colorscheme to rose-pine
This commit is contained in:
parent
17f496aeba
commit
9250f5bac9
5 changed files with 35 additions and 10 deletions
30
config/nvim/lua/aleidk/plugins/colorscheme.lua
Normal file
30
config/nvim/lua/aleidk/plugins/colorscheme.lua
Normal file
|
|
@ -0,0 +1,30 @@
|
|||
local colorscheme = "rose-pine"
|
||||
return {
|
||||
"rose-pine/neovim",
|
||||
name = colorscheme,
|
||||
priority = 1000,
|
||||
config = function(_, opts)
|
||||
require(colorscheme).setup(opts)
|
||||
vim.cmd.colorscheme(colorscheme)
|
||||
end,
|
||||
opts = {
|
||||
--- @usage 'auto'|'main'|'moon'|'dawn'
|
||||
variant = "moon",
|
||||
--- @usage 'main'|'moon'|'dawn'
|
||||
dark_variant = "moon",
|
||||
--- @usage string hex value or named color from rosepinetheme.com/palette
|
||||
groups = {
|
||||
background = "none",
|
||||
},
|
||||
-- Change specific vim highlight groups
|
||||
-- https://github.com/rose-pine/neovim/wiki/Recipes
|
||||
highlight_groups = {
|
||||
TelescopeBorder = { fg = "highlight_high", bg = "none" },
|
||||
TelescopeNormal = { bg = "none" },
|
||||
TelescopePromptNormal = { bg = "base" },
|
||||
TelescopeResultsNormal = { fg = "subtle", bg = "none" },
|
||||
TelescopeSelection = { fg = "text", bg = "base" },
|
||||
TelescopeSelectionCaret = { fg = "rose", bg = "rose" },
|
||||
},
|
||||
},
|
||||
}
|
||||
|
|
@ -37,15 +37,6 @@ return {
|
|||
opts = {},
|
||||
},
|
||||
|
||||
{
|
||||
-- Theme inspired by Atom
|
||||
"navarasu/onedark.nvim",
|
||||
priority = 1000,
|
||||
config = function()
|
||||
vim.cmd.colorscheme("onedark")
|
||||
end,
|
||||
},
|
||||
|
||||
-- "gc" to comment visual regions/lines
|
||||
{ "numToStr/Comment.nvim", opts = {} },
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue