nvim/plug: -vim-one, +onedarkpro.nvim@master
Better color scheme implementation of one
This commit is contained in:
parent
436d1d17d3
commit
861bbdfb1d
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
@ -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>' },
|
||||
|
|
Loading…
Reference in New Issue