feat(lualine): add filepath to lualine
This commit is contained in:
@@ -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" },
|
||||
},
|
||||
},
|
||||
}
|
||||
|
||||
@@ -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} }
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user