diff options
Diffstat (limited to 'neovim/.config/nvim/lua/plugins')
-rw-r--r-- | neovim/.config/nvim/lua/plugins/galaxyline.lua | 35 |
1 files changed, 24 insertions, 11 deletions
diff --git a/neovim/.config/nvim/lua/plugins/galaxyline.lua b/neovim/.config/nvim/lua/plugins/galaxyline.lua index 9da6cb3..2c15f40 100644 --- a/neovim/.config/nvim/lua/plugins/galaxyline.lua +++ b/neovim/.config/nvim/lua/plugins/galaxyline.lua @@ -7,28 +7,40 @@ return { 'nvim-tree/nvim-web-devicons', }, { - 'arzg/vim-colors-xcode', + --'lunacookies/vim-colors-xcode', + --lazy = false, + --priority = 1000, + --config = function () + --local colorscheme_rules_augroup = vim.api.nvim_create_augroup('Colors', {}) + --vim.api.nvim_create_autocmd( { 'ColorScheme' }, { + --pattern = { '*' }, + --group = colorscheme_rules_augroup, + --callback = function() + --vim.api.nvim_set_hl(0, 'WinSeparator', { link='VertSplit', force=1, default=1 }) + --end, + --}) + --end, + 'navarasu/onedark.nvim', lazy = false, priority = 1000, - config = function () - local colorscheme_rules_augroup = vim.api.nvim_create_augroup('Colors', {}) - vim.api.nvim_create_autocmd( { 'ColorScheme' }, { - pattern = { '*' }, - group = colorscheme_rules_augroup, - callback = function() - vim.api.nvim_set_hl(0, 'WinSeparator', { link='VertSplit', force=1, default=1 }) - end, - }) - end, + opts = { + style = 'light', + }, dependencies = { { 'f-person/auto-dark-mode.nvim', opts = { update_interval = 1000, set_dark_mode = function () + require('onedark').setup { + style = 'dark', + } vim.api.nvim_set_option('background', 'dark') end, set_light_mode = function () + require('onedark').setup { + style = 'light', + } vim.api.nvim_set_option('background', 'light') end } @@ -38,6 +50,7 @@ return { }, event = 'VimEnter', config = function() + require('onedark').load() local gl = require('galaxyline') local colors = { yellow = vim.g.terminal_color_11, |