nvim/plug: -vim-one, +onedarkpro.nvim@master

Better color scheme implementation of one
This commit is contained in:
Paul Stemmet 2022-09-05 11:39:27 +00:00
parent 436d1d17d3
commit 861bbdfb1d
Signed by: Paul Stemmet
GPG Key ID: EDEA539F594E7E75
3 changed files with 28 additions and 7 deletions

View File

@ -7,7 +7,7 @@ local function psoxizsh_early_config()
-- Set global color scheme var
if not g.my_color_scheme then
g.my_color_scheme = 'one'
g.my_color_scheme = 'onedarkpro'
end
-- Color settings

View File

@ -0,0 +1,21 @@
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

View File

@ -18,6 +18,11 @@ local plugins = {
as = 'vimp'
},
-- Color themes
{ 'olimorris/onedarkpro.nvim',
config = require 'psoxizsh.plugins.config.onedark'
},
-- Text alignment
{ 'junegunn/vim-easy-align' },
{ 'tmsvg/pear-tree',
@ -104,15 +109,10 @@ local plugins = {
{ 'junegunn/fzf.vim',
config = require 'psoxizsh.plugins.config.fzf'
},
{ 'romainl/vim-cool' },
{ 'adelarsq/vim-matchit' },
{ 'mox-mox/vim-localsearch' },
-- Color themes
{ 'rakr/vim-one',
config = function() vim.cmd(string.format('colorscheme %s', vim.g.my_color_scheme or 'one')) end
},
{ 'romainl/vim-cool' },
-- Tmux integration for pane movement
{ 'christoomey/vim-tmux-navigator',
keys = { '<C-h>', '<C-j>', '<C-k>', '<C-l>' },