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

24 lines
391 B
Lua

-- Copyright (c) 2020-2021 hoob3rt
-- MIT license, see LICENSE for more details.
local function get_short_cwd()
return vim.fn.fnamemodify(vim.fn.getcwd(), ':~')
end
local empty = {
function()
return ' '
end,
left_padding = 0,
right_padding = 0,
}
local M = {}
M.sections = {
lualine_a = { get_short_cwd },
lualine_c = { empty },
}
M.filetypes = { 'nerdtree' }
return M