2021-02-13 00:03:57 +00:00
|
|
|
-- Copyright (c) 2020-2021 hoob3rt
|
|
|
|
-- MIT license, see LICENSE for more details.
|
2021-09-03 18:28:20 +00:00
|
|
|
local function fzf_statusline()
|
|
|
|
return 'FZF'
|
|
|
|
end
|
2020-12-30 14:48:51 +00:00
|
|
|
|
2021-10-01 13:54:57 +00:00
|
|
|
local empty = {
|
|
|
|
function()
|
|
|
|
return ' '
|
|
|
|
end,
|
|
|
|
padding = 0,
|
|
|
|
}
|
|
|
|
|
2021-03-12 23:52:28 +00:00
|
|
|
local M = {}
|
|
|
|
|
2021-08-26 19:01:42 +00:00
|
|
|
M.sections = {
|
2021-09-03 18:28:20 +00:00
|
|
|
lualine_a = { fzf_statusline },
|
2021-10-01 13:54:57 +00:00
|
|
|
lualine_x = { empty },
|
2021-08-26 19:01:42 +00:00
|
|
|
}
|
2020-12-30 14:48:51 +00:00
|
|
|
|
2021-09-03 18:28:20 +00:00
|
|
|
M.filetypes = { 'fzf' }
|
2021-03-12 23:52:28 +00:00
|
|
|
|
|
|
|
return M
|