Hubert Pelczarski 3e94f2786f
feat: addad chad&nnvim tree extensions (#167)
* feat: addad chad&nnvim tree extensions

* fix: updated all extensions

* applied suggestions
2021-04-12 14:03:25 +02:00

14 lines
295 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.inactive_sections = M.sections
M.filetypes = {'nerdtree'}
return M