馃 a tiny, customizable statusline for neovim
3
fork

Configure Feed

Select the types of activity you want to include in your feed.

at f9aa962576faca03bbcdb1dbaa52852b23aa72b5 29 lines 469 B view raw
1local M = {} 2 3local lzrq = function(modname) 4 return vim.defaulttable(function(k) 5 return require(modname)[k] 6 end) 7end 8 9local config = lzrq("lylla.config") 10 11---@param cfg? lylla.config 12function M.setup(cfg) 13 cfg = cfg or {} 14 config.set(config.override(cfg)) 15end 16 17-- helpers 18 19---@param fn fun(): string|any[] 20---@param opts? { events: string[] } 21---@return table 22function M.component(fn, opts) 23 local t = {} 24 t.fn = fn 25 t.opts = opts 26 return t 27end 28 29return M