This repository has been archived on 2025-01-07. You can view files and clone it, but cannot push or open issues or pull requests.
opdavies.nvim/after/plugin/lualine.lua

41 lines
904 B
Lua

local status_ok, lualine = pcall(require, "lualine")
if not status_ok then
return
end
local noice = require 'noice'
lualine.setup {
options = {
component_separators = { left = '', right = '' },
extensions = { "fzf", "quickfix" },
icons_enabled = false,
section_separators = { left = '', right = '' },
theme = "catppuccin"
},
sections = {
lualine_x = {
{
noice.api.status.message.get_hl,
cond = noice.api.status.message.has,
},
{
noice.api.status.command.get,
cond = noice.api.status.command.has,
color = { fg = "#EED49F" },
},
{
noice.api.status.mode.get,
cond = noice.api.status.mode.has,
color = { fg = "#EED49F" },
},
{
noice.api.status.search.get,
cond = noice.api.status.search.has,
color = { fg = "#EED49F" },
},
},
},
}