Skip to content

2 statuslines #53

Closed
Closed
@7ijme

Description

@7ijme

Describe the bug

Yeah i don't know why but this happens
image

this is my lualine config

require("lualine").setup({
	options = {
		theme = "onedark",
	},
	sections = {
		lualine_a = { "mode" },
		lualine_b = { "branch", "diff", "diagnostics" },
		lualine_c = { "filename" },
		lualine_x = { "filetype" },
		lualine_y = { "location", "progress" },
		lualine_z = { "os.date('!%H:%M:%S', os.time()+get_timezone())" },
	},
})

To reproduce

I just installed this and have lualine configured

Expected behavior

Just 1 statusline

Terminal emulator

Windows Terminal > wsl

Debug output

{'right': ['#[fg=,bg=]#[fg=#51a0cf,bg=#31353f] #[fg=#abb2bf,bg=#31353f] lua #[fg=#3b3f4c,bg=#31353f]#[fg=#abb2bf,bg=#3b3f4c] 120:1
#[fg=#abb2bf,bg=#3b3f4c] Bot #[fg=#e5c07b,bg=#3b3f4c]#[fg=#282c34,bg=#e5c07b,bold] 20:35:23 '], 'native_str': ' COMMAND   master 
 all.lua                                                                          lua  120:1   Bot  20:35:23 ', 'version_info': '{
   api_compatible = 0,   api_level = 11,   api_prerelease = false,   major = 0,   minor = 9,   patch = 0,   prerelease = false }', 'tm
ux': 'tmux 3.2a', 'left': ['#[fg=,bg=]#[fg=#282c34,bg=#e5c07b,bold] COMMAND #[fg=#e5c07b,bg=#3b3f4c,nobold]#[fg=#abb2bf,bg=#3b3f4c] 
 master #[fg=#3b3f4c,bg=#31353f]#[fg=#abb2bf,bg=#31353f] all.lua #[fg=#abb2bf,bg=#31353f]'], 'plugin_version': '1.0', 'native_highlig
hts': [{'group': 'lualine_a_command', 'start': 0}, {'group': 'lualine_transitional_lualine_a_command_to_lualine_b_normal', 'start': 9}
, {'group': 'lualine_b_normal', 'start': 12}, {'group': 'lualine_transitional_lualine_b_normal_to_lualine_c_normal', 'start': 24}, {'g
roup': 'lualine_c_normal', 'start': 27}, {'group': 'lualine_c_normal', 'start': 36}, {'group': 'lualine_x_filetype_DevIconLua_command'
, 'start': 107}, {'group': 'lualine_c_normal', 'start': 111}, {'group': 'lualine_transitional_lualine_b_normal_to_lualine_c_normal', '
start': 116}, {'group': 'lualine_b_normal', 'start': 119}, {'group': 'lualine_b_normal', 'start': 130}, {'group': 'lualine_transitiona
l_lualine_a_command_to_lualine_b_normal', 'start': 135}, {'group': 'lualine_a_command', 'start': 138}], 'os': 'Linux', 'brand': 'neovi
m'}

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions