feat(lualine): add filepath to lualine
This commit is contained in:
@@ -1,11 +1,27 @@
|
|||||||
return {
|
return {
|
||||||
'nvim-lualine/lualine.nvim',
|
"nvim-lualine/lualine.nvim",
|
||||||
requires = { 'nvim-tree/nvim-web-devicons', opt = true },
|
event = "VeryLazy",
|
||||||
config = function ()
|
requires = { "nvim-tree/nvim-web-devicons", opt = true },
|
||||||
require('lualine').setup({
|
opts = {
|
||||||
options = {
|
options = {
|
||||||
theme = 'ayu_mirage'
|
theme = "ayu_mirage",
|
||||||
}
|
},
|
||||||
})
|
section_separators = { left = "", right = "" },
|
||||||
end
|
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" },
|
||||||
|
},
|
||||||
|
},
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -20,5 +20,5 @@ return {
|
|||||||
}
|
}
|
||||||
})
|
})
|
||||||
end,
|
end,
|
||||||
requires = { { 'hoob3rt/lualine.nvim', opt=true }, {'kyazdani42/nvim-web-devicons', opt = true} }
|
requires = { {'kyazdani42/nvim-web-devicons', opt = true} }
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user