From 19721f6e4fe43739cee54669a9a9dcb834fa70bf Mon Sep 17 00:00:00 2001 From: Hennadii Chernyshchyk Date: Mon, 2 May 2022 05:15:53 +0300 Subject: [PATCH] Add neo-tree extension (#672) * Add neo-tree extension * Update README.md --- README.md | 1 + lua/lualine/extensions/neo-tree.lua | 11 +++++++++++ 2 files changed, 12 insertions(+) create mode 100644 lua/lualine/extensions/neo-tree.lua diff --git a/README.md b/README.md index 4ec4564..3ab0657 100644 --- a/README.md +++ b/README.md @@ -741,6 +741,7 @@ extensions = {'quickfix'} - fugitive - fzf - nerdtree +- neo-tree - nvim-tree - quickfix - symbols-outline diff --git a/lua/lualine/extensions/neo-tree.lua b/lua/lualine/extensions/neo-tree.lua new file mode 100644 index 0000000..9149766 --- /dev/null +++ b/lua/lualine/extensions/neo-tree.lua @@ -0,0 +1,11 @@ +-- Copyright (c) 2020-2021 hoob3rt +-- MIT license, see LICENSE for more details. +local nerdtree = require('lualine.extensions.nerdtree') + +local M = {} + +M.sections = vim.deepcopy(nerdtree.sections) + +M.filetypes = { 'neo-tree' } + +return M