feat(lualine): add filepath to lualine

This commit is contained in:
Oliver
2025-04-23 14:30:39 +02:00
parent 248c1cfa47
commit 6834652c20
2 changed files with 26 additions and 10 deletions

View File

@@ -1,11 +1,27 @@
return {
'nvim-lualine/lualine.nvim',
requires = { 'nvim-tree/nvim-web-devicons', opt = true },
config = function ()
require('lualine').setup({
options = {
theme = 'ayu_mirage'
}
})
end
"nvim-lualine/lualine.nvim",
event = "VeryLazy",
requires = { "nvim-tree/nvim-web-devicons", opt = true },
opts = {
options = {
theme = "ayu_mirage",
},
section_separators = { left = "", right = "" },
component_separators = { left = "", right = "" },
sections = {
lualine_a = { "mode" },
lualine_b = { "branch", "diff", "diagnostics" },
lualine_c = {
{
"filename",
file_status = true,
path = 1,
shorting_target = 40,
},
},
lualine_x = { "filetype" },
lualine_y = { "progress" },
lualine_z = { "location" },
},
},
}

View File

@@ -20,5 +20,5 @@ return {
}
})
end,
requires = { { 'hoob3rt/lualine.nvim', opt=true }, {'kyazdani42/nvim-web-devicons', opt = true} }
requires = { {'kyazdani42/nvim-web-devicons', opt = true} }
}