Files

105 lines
1.5 KiB
Lua
Raw Permalink Normal View History

2026-05-20 09:39:20 -06:00
-- ============================================================
-- LUALINE
-- Statusline
-- ============================================================
vim.pack.add {
{
src = 'https://github.com/nvim-lualine/lualine.nvim',
},
{
src = 'https://github.com/nvim-tree/nvim-web-devicons',
},
}
require('lualine').setup {
options = {
theme = 'onedark',
icons_enabled = true,
component_separators = {
left = '',
right = '',
},
section_separators = {
left = '',
right = '',
},
disabled_filetypes = {
statusline = {},
winbar = {},
},
ignore_focus = {},
always_divide_middle = true,
globalstatus = true,
refresh = {
statusline = 100,
tabline = 100,
winbar = 100,
},
},
sections = {
lualine_a = { {
'mode',
upper = true,
} },
lualine_b = {
'branch',
'diff',
'diagnostics',
},
lualine_c = {
{
'filename',
path = 1,
},
},
lualine_x = {
{
'encoding',
show_bomb = true,
},
'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 = {
'trouble',
'quickfix',
'fzf',
'lazy',
'mason',
},
}