nvim: add psoxizsh.plugins.colorscheme

This commit is contained in:
Paul Stemmet 2024-08-08 11:55:33 +00:00
parent 3a56818202
commit 1613c7b94d
Signed by: Paul Stemmet
GPG Key ID: EDEA539F594E7E75
2 changed files with 20 additions and 21 deletions

View File

@ -0,0 +1,20 @@
return {
{ 'catppuccin', enabled = false }, -- disable LazyVim default colorscheme
{ 'olimorris/onedarkpro.nvim',
priority = 1000,
opts = {
plugins = { all = true },
styles = {
comments = 'italic',
},
options = {
bold = true,
italic = true,
underline = true,
undercurl = true,
},
},
},
}

View File

@ -1,21 +0,0 @@
return function()
local odp, util = require 'onedarkpro', require 'psoxizsh.util'
local defaults = {
plugins = { all = true },
styles = {
comments = 'italic',
},
options = {
bold = true,
italic = true,
underline = true,
undercurl = true,
},
}
if not vim.g.my_color_scheme then vim.g.my_color_scheme = 'onedarkpro' end
odp.setup(util.mconfig('config.onedark', defaults))
end