{ ... }: { programs.nixvim.plugins = { lualine = { enable = true; settings = { theme = "catppuccin"; # sections = { # lualine_c = [ # { # __unkeyed-1 = { # __raw = '' # function() # require("trouble").statusline({ # mode = "lsp_document_symbols", # groups = {}, # title = false, # filter = { range = true }, # format = "{kind_icon}{symbol.name:Normal}", # -- The following line is needed to fix the background color # -- Set it to the lualine section you want to use # hl_group = "lualine_c_normal", # } # ).get # end # ''; # }; # cond = { # __raw = '' # require("trouble").statusline({ # mode = "lsp_document_symbols", # groups = {}, # title = false, # filter = { range = true }, # format = "{kind_icon}{symbol.name:Normal}", # -- The following line is needed to fix the background color # -- Set it to the lualine section you want to use # hl_group = "lualine_c_normal", # }).has # ''; # }; # } # ]; # }; }; }; }; }