summaryrefslogtreecommitdiff
path: root/neovim/.config/nvim/lua/plugins/lualine.lua
diff options
context:
space:
mode:
Diffstat (limited to 'neovim/.config/nvim/lua/plugins/lualine.lua')
-rw-r--r--neovim/.config/nvim/lua/plugins/lualine.lua71
1 files changed, 71 insertions, 0 deletions
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,
+ }
+}