🗑️ remove(nvim): remove lualine module for last key pressed

This commit is contained in:
Sergio Laín 2023-12-31 13:19:28 +01:00
parent cf4420e2ff
commit 0219f3fe75
No known key found for this signature in database
GPG key ID: 14C9B8080681777B
2 changed files with 1 additions and 1 deletions

View file

@ -27,7 +27,6 @@ return {
}, },
{ {
"nvim-lualine/lualine.nvim", "nvim-lualine/lualine.nvim",
optional = true,
opts = function(_, opts) opts = function(_, opts)
local function is_active() local function is_active()
local ok, hydra = pcall(require, "hydra.statusline") local ok, hydra = pcall(require, "hydra.statusline")

View file

@ -4,6 +4,7 @@ return {
opts.options.component_separators = { left = "", right = "" } opts.options.component_separators = { left = "", right = "" }
opts.options.section_separators = { left = "", right = "" } opts.options.section_separators = { left = "", right = "" }
table.remove(opts.sections.lualine_x, 1)
opts.sections.lualine_a = { { "mode", icon = "" } } opts.sections.lualine_a = { { "mode", icon = "" } }
opts.sections.lualine_y = { { "progress", icon = "", separator = " ", padding = { left = 1, right = 1 } } } opts.sections.lualine_y = { { "progress", icon = "", separator = " ", padding = { left = 1, right = 1 } } }
opts.sections.lualine_z = { { "location", icon = "", padding = { left = 1, right = 1 } } } opts.sections.lualine_z = { { "location", icon = "", padding = { left = 1, right = 1 } } }