github-actions[bot] db448f41e6
chore: formated with stylua (#32)
Apply initial stylua format

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2021-09-04 00:28:20 +06:00

26 lines
449 B
Lua

-- Copyright (c) 2020-2021 hoob3rt
-- MIT license, see LICENSE for more details.
local M = {}
local function fugitive_branch()
local icon = '' -- e0a0
return icon .. ' ' .. vim.fn.FugitiveHead()
end
local empty = {
function()
return ' '
end,
left_padding = 0,
right_padding = 0,
}
M.sections = {
lualine_a = { fugitive_branch },
lualine_c = { empty },
lualine_z = { 'location' },
}
M.filetypes = { 'fugitive' }
return M