🗑️ remove(nvim): remove lualine module for last key pressed
This commit is contained in:
parent
cf4420e2ff
commit
0219f3fe75
2 changed files with 1 additions and 1 deletions
|
@ -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")
|
||||||
|
|
|
@ -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 } } }
|
||||||
|
|
Loading…
Add table
Reference in a new issue