dotfiles/lua/plugins/lualine.lua
Gered 41471da3fe update lualine config
the only actual change here is that the filename display will now
include the full path.

however, now a copy of the default `sections` and `inactive_sections`
config have been copied here, just to make it easier to make any
future modifications.
2024-09-08 00:08:11 -04:00

44 lines
1 KiB
Lua

return {
{
'nvim-lualine/lualine.nvim',
dependencies = {
'nvim-tree/nvim-web-devicons',
},
config = function()
require('lualine').setup {
options = {
globalstatus = true,
disabled_filetypes = {
statusline = {
'dashboard',
},
},
},
sections = {
lualine_a = { 'mode' },
lualine_b = { 'branch', 'diff', 'diagnostics' },
lualine_c = { { 'filename', path = 2 } },
lualine_x = { 'encoding', 'fileformat', 'filetype' },
lualine_y = { 'progress' },
lualine_z = { 'location' },
},
inactive_sections = {
lualine_a = {},
lualine_b = {},
lualine_c = { 'filename' },
lualine_x = { 'location' },
lualine_y = {},
lualine_z = {},
},
extensions = {
'lazy',
'mason',
'neo-tree',
'nvim-dap-ui',
'toggleterm',
},
}
end,
},
}