-- https://github.com/nvim-lualine/lualine.nvim ---@type LazyPluginSpec return { "nvim-lualine/lualine.nvim", event = "VimEnter", config = function() local custom_moonfly = require("lualine.themes.moonfly") custom_moonfly.normal.c.bg = require("moonfly").palette.bg require("lualine").setup({ options = { icons_enabled = false, theme = custom_moonfly, component_separators = { left = "", right = "" }, section_separators = { left = "", right = "" }, always_divide_middle = true, globalstatus = true, }, sections = { lualine_a = {}, lualine_b = {}, lualine_c = { { "filename", path = 1 }, { "diff" }, { "diagnostics", sources = { "nvim_diagnostic" } }, { require("grapple").statusline, cond = require("grapple").exists }, }, lualine_x = { "bo:filetype", "encoding", "bo:fileformat", "progress", "location", }, lualine_y = {}, lualine_z = {}, }, }) end, }