Skip to content

Commit

Permalink
chore: change separators for lualine
Browse files Browse the repository at this point in the history
  • Loading branch information
miszo committed Jun 12, 2024
1 parent 48e7b4f commit 313db44
Showing 1 changed file with 7 additions and 2 deletions.
9 changes: 7 additions & 2 deletions home/dot_config/exact_nvim/exact_lua/exact_plugins/ui.lua
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,7 @@ return {
})
end,
},
-- Extend lualine with battery
-- Extend lualine
{
'nvim-lualine/lualine.nvim',
dependencies = { 'nvim-tree/nvim-web-devicons', 'justinhj/battery.nvim' },
Expand All @@ -104,7 +104,12 @@ return {
end,
}
table.insert(opts.sections.lualine_y, battery)

opts.options = vim.tbl_deep_extend('keep', opts.options, {
icons_enabled = true,
theme = 'auto',
component_separators = { left = '', right = '' },
section_separators = { left = '', right = '' },
})
require('lualine').setup(opts)
end,
},
Expand Down

0 comments on commit 313db44

Please sign in to comment.