From 04d47e8b5b990fac69a648dfd98027d442f663b4 Mon Sep 17 00:00:00 2001 From: Michaƫl Ball Date: Fri, 13 Sep 2024 16:56:16 +0100 Subject: Replace galaxyline with lualine --- neovim/.config/nvim/lua/plugins/galaxyline.lua | 72 -------------------------- neovim/.config/nvim/lua/plugins/lualine.lua | 71 +++++++++++++++++++++++++ 2 files changed, 71 insertions(+), 72 deletions(-) delete mode 100644 neovim/.config/nvim/lua/plugins/galaxyline.lua create mode 100644 neovim/.config/nvim/lua/plugins/lualine.lua (limited to 'neovim/.config/nvim/lua/plugins') diff --git a/neovim/.config/nvim/lua/plugins/galaxyline.lua b/neovim/.config/nvim/lua/plugins/galaxyline.lua deleted file mode 100644 index d3f8ba7..0000000 --- a/neovim/.config/nvim/lua/plugins/galaxyline.lua +++ /dev/null @@ -1,72 +0,0 @@ -return { - { - 'nvimdev/galaxyline.nvim', - branch = 'main', - dependencies = { - { - 'nvim-tree/nvim-web-devicons', - }, - { - "catppuccin/nvim", - name = "catppuccin", - priority = 1000, - lazy = false, - opts = { - term_colors = true, - }, - }, - { - 'navarasu/onedark.nvim', - lazy = false, - priority = 1000, - opts = { - style = 'light', - }, - }, - { - 'nyoom-engineering/oxocarbon.nvim', - lazy = false, - priority = 1000, - }, - { - "folke/tokyonight.nvim", - lazy = false, - priority = 1000, - opts = {}, - }, - { - '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, - dependencies = { - { - 'f-person/auto-dark-mode.nvim', - opts = { - update_interval = 1000, - set_dark_mode = function() - vim.api.nvim_set_option('background', 'dark') - end, - set_light_mode = function() - vim.api.nvim_set_option('background', 'light') - end - } - } - }, - }, - }, - event = { 'BufEnter', 'VimEnter' }, - config = function() - require('config.galaxyline') - end, - }, -} diff --git a/neovim/.config/nvim/lua/plugins/lualine.lua b/neovim/.config/nvim/lua/plugins/lualine.lua new file mode 100644 index 0000000..fda2e78 --- /dev/null +++ b/neovim/.config/nvim/lua/plugins/lualine.lua @@ -0,0 +1,71 @@ +return { + { + 'nvim-lualine/lualine.nvim', + dependencies = { + { + 'nvim-tree/nvim-web-devicons', + }, + { + "catppuccin/nvim", + name = "catppuccin", + priority = 1000, + lazy = false, + opts = { + term_colors = true, + }, + }, + { + 'navarasu/onedark.nvim', + lazy = false, + priority = 1000, + opts = { + style = 'light', + }, + }, + { + 'nyoom-engineering/oxocarbon.nvim', + lazy = false, + priority = 1000, + }, + { + "folke/tokyonight.nvim", + lazy = false, + priority = 1000, + opts = {}, + }, + { + '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, + dependencies = { + { + 'f-person/auto-dark-mode.nvim', + opts = { + update_interval = 1000, + set_dark_mode = function() + vim.api.nvim_set_option('background', 'dark') + end, + set_light_mode = function() + vim.api.nvim_set_option('background', 'light') + end + } + } + }, + }, + }, + event = { 'BufEnter', 'VimEnter' }, + config = function() + require('config.lualine') + end, + } +} -- cgit v1.2.3