6faaa05ae5
This reverts commit 846e5bdabfc2bb49407a1e32ed5deec1375c3b08.
16 lines
272 B
Lua
16 lines
272 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 M = {}
|
|
|
|
M.sections = {
|
|
lualine_a = { get_short_cwd },
|
|
}
|
|
|
|
M.filetypes = { 'nerdtree' }
|
|
|
|
return M
|