nvim/lua/custom/plugins/lualine.lua
Jeremie Fraeys f162354317
refactor: cleanup UI and navigation plugins
- Simplify telescope.lua configuration
- Streamline trouble.lua diagnostics
- Refactor oil.lua file manager
- Update harpoon.lua quick file navigation
- Clean up indent.lua, lualine.lua, which-key.lua
2026-03-23 20:34:20 -04:00

48 lines
1.4 KiB
Lua
Executable file

return {
'nvim-lualine/lualine.nvim',
event = 'UIEnter',
dependencies = { 'nvim-tree/nvim-web-devicons', option = true },
config = function()
require('lualine').setup({
options = {
theme = 'auto',
icons_enabled = true,
component_separators = '|',
section_separators = '',
},
sections = {
lualine_a = {
{ 'mode', icons_enabled = true },
},
lualine_b = {
{
'buffers',
show_modified_status = true,
symbols = { modified = '', alternate_file = '#', directory = '' },
},
},
lualine_c = {
'branch',
{ 'diff', colored = false, symbols = { added = '', modified = '', removed = '' } },
{
'diagnostics',
sources = { 'nvim_lsp' },
symbols = { error = 'E:', warn = 'W:', info = 'I:', hint = 'H:' },
}, -- shows E/W/H counts
},
lualine_x = {
{
display_components = { 'lsp_client_name', 'spinner', { 'title', 'percentage', 'message' } },
},
},
lualine_y = {
{ 'encoding', show_bomb = true },
{ 'fileformat', symbols = { unix = '', mac = '', dos = '' } },
'filetype',
},
lualine_z = { 'location' }, -- line:col
},
extensions = { 'fugitive', 'nvim-tree', 'fzf' },
})
end,
}