Roman Frołow 2024-06-12 17:27:16 +02:00 committed by GitHub
parent 4818e4b72f
commit 7f451adc90
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 16 additions and 3 deletions

View File

@ -156,11 +156,24 @@ return {
{
"nvim-lualine/lualine.nvim",
event = "VeryLazy",
opts = function(_, opts)
table.insert(opts.sections.lualine_x, "😄")
config = function(_, opts)
table.insert(opts.sections.lualine_a,
function()
return "😄"
end
)
-- prepend
table.insert(opts.sections.lualine_z, 1, "location")
require('lualine').setup {
sections = {
lualine_a = opts.sections.lualine_a,
lualine_z = opts.sections.lualine_z,
}
}
end,
},
-- or you can return new options to override all the defaults
{
"nvim-lualine/lualine.nvim",