show relative path in lualine

This commit is contained in:
Thomas Ruoff
2024-06-05 16:08:55 +02:00
parent 12ff167f4e
commit d684fa23cc

View File

@@ -1,10 +1,18 @@
return { return {
'nvim-lualine/lualine.nvim', 'nvim-lualine/lualine.nvim',
opts = { opts = {
sections = {
lualine_c = {
{
'filename',
path = 1,
},
},
},
options = { options = {
theme = 'auto', theme = 'auto',
component_separators = { left = '', right = '' }, -- component_separators = { left = '', right = '' },
section_separators = { left = '', right = '' }, -- section_separators = { left = '', right = '' },
}, },
}, },
} }