From 303edcfe968af3ddda66e2cfe21cb21b468c4c24 Mon Sep 17 00:00:00 2001 From: hoob3rt Date: Thu, 11 Mar 2021 00:32:13 +0100 Subject: [PATCH] feat: added nerdtree extension --- lua/lualine/extensions/nerdtree.lua | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 lua/lualine/extensions/nerdtree.lua diff --git a/lua/lualine/extensions/nerdtree.lua b/lua/lualine/extensions/nerdtree.lua new file mode 100644 index 0000000..884659e --- /dev/null +++ b/lua/lualine/extensions/nerdtree.lua @@ -0,0 +1,16 @@ +-- Copyright (c) 2020-2021 hoob3rt +-- MIT license, see LICENSE for more details. + +local M = {} + +M.sections = { + lualine_a = { vim.fn.getcwd }, +} + +M.inactive_sections = { + lualine_a = { vim.fn.getcwd }, +} + +M.filetypes = { 'nerdtree' } + +return M