{ plugins.lualine = { enable = true; settings = { options = { globalstatus = true; extensions = [ "fzf" "neo-tree" ]; disabledFiletypes = { statusline = ["startup" "alpha"]; }; theme = "catppuccin"; }; sections = { lualine_a = [ { __unkeyed-1 = "mode"; icon = ""; } ]; lualine_b = [ { __unkeyed-1 = "branch"; icon = ""; } { __unkeyed-1 = "diff"; symbols = { added = " "; modified = " "; removed = " "; }; } ]; lualine_c = [ { __unkeyed-1 = "diagnostics"; sources = ["nvim_lsp"]; symbols = { error = " "; warn = " "; info = " "; hint = "󰝶 "; }; } { __unkeyed-1 = "navic"; } ]; lualine_x = [ { __unkeyed-1 = "filetype"; icon_only = true; separator = ""; padding = { left = 1; right = 0; }; } { __unkeyed-1 = "filename"; path = 1; } { __unkeyed-1.__raw = '' function() local icon = " " local status = require("copilot.api").status.data return icon .. (status.message or " ") end, cond = function() local ok, clients = pcall(vim.lsp.get_clients, { name = "copilot", bufnr = 0 }) return ok and #clients > 0 end, ''; } ]; lualine_y = [ { __unkeyed-1 = "progress"; } ]; lualine_z = [ { __unkeyed-1 = "location"; } ]; }; }; }; }