summaryrefslogtreecommitdiff
path: root/neovim/.config/nvim/lua/plugins/galaxyline.lua
diff options
context:
space:
mode:
authorMichaël Ball <michael.ball@krotosaudio.com>2024-07-24 15:32:30 +0100
committerMichaël Ball <michael.ball@krotosaudio.com>2024-07-24 15:32:30 +0100
commit1ac49e1561b079af6733ae2e9c1c32b0dff35ad6 (patch)
treecea64da91b003171b202ac96498bcff9b80bfd34 /neovim/.config/nvim/lua/plugins/galaxyline.lua
parentd5b5ca9ac123bd4006a880db845f8c0979351300 (diff)
Switch to onedark colourscheme
Diffstat (limited to 'neovim/.config/nvim/lua/plugins/galaxyline.lua')
-rw-r--r--neovim/.config/nvim/lua/plugins/galaxyline.lua35
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,