statusline: add file path
This commit is contained in:
parent
40a2e2a601
commit
b4589af7fc
|
|
@ -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' }
|
||||||
|
|
|
||||||
Reference in New Issue