statusline: add file path

This commit is contained in:
krolyxon 2023-01-23 21:52:13 +05:30
parent 40a2e2a601
commit b4589af7fc
1 changed files with 3 additions and 1 deletions

View File

@ -20,7 +20,9 @@ require('lualine').setup {
sections = { sections = {
lualine_a = { 'mode' }, lualine_a = { 'mode' },
lualine_b = { 'branch', 'diff', 'diagnostics' }, lualine_b = { 'branch', 'diff', 'diagnostics' },
lualine_c = { 'filename' }, lualine_c = {
{ "filename", path = 1, symbols = { modified = "", readonly = "", unnamed = "" } }
},
lualine_x = { 'encoding', 'fileformat', 'filetype' }, lualine_x = { 'encoding', 'fileformat', 'filetype' },
lualine_y = { 'progress' }, lualine_y = { 'progress' },
lualine_z = { 'location' } lualine_z = { 'location' }