local M = {}

function M.config()
    require("lualine").setup({
        options = {
            theme = "catppuccin",
            globalstatus = true,
        },
        sections = {
            lualine_a = { { "mode", fmt = string.upper } },
            lualine_b = { "filetype" },
            lualine_c = { { "diagnostics", sources = { "nvim_lsp" } } },
            lualine_x = {},
            lualine_y = { "branch" },
            lualine_z = {},
        },
    })
end

return M

local M = {}

function M.config()
    require("lualine").setup({
        options = {
            theme = "catppuccin",
            globalstatus = true,
        },
        sections = {
            lualine_a = { { "mode", fmt = string.upper } },
            lualine_b = { "filetype" },
            lualine_c = { { "diagnostics", sources = { "nvim_lsp" } } },
            lualine_x = {},
            lualine_y = {},
            lualine_z = {},
        },
    })
end

return M

Remove branch name from status line.
feat: Remove branch name from status line.

Signed-off-by: Yoshio Sugiyama <d278fe5383150975c3f762683049de40f68a6e90@gmail.com>
