From 6543c16470db4ac63bc9182515fc3f55243d0401 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Matej=20Jane=C5=BEi=C4=8D?= Date: Sun, 19 Feb 2023 23:18:06 +0100 Subject: [PATCH] feat: add neo-tree.nvim --- lua/plugins/common.lua | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) diff --git a/lua/plugins/common.lua b/lua/plugins/common.lua index 07f365e..1acd82d 100644 --- a/lua/plugins/common.lua +++ b/lua/plugins/common.lua @@ -105,6 +105,22 @@ return { end, }, + { -- file tree + "nvim-neo-tree/neo-tree.nvim", + version = "*", + dependencies = { + "nvim-lua/plenary.nvim", + "nvim-tree/nvim-web-devicons", -- not strictly required, but recommended + "MunifTanjim/nui.nvim", + }, + config = function () + -- Unless you are still migrating, remove the deprecated commands from v1.x + vim.cmd([[ let g:neo_tree_remove_legacy_commands = 1 ]]) + + require('neo-tree').setup {} + end, + }, + -- NOTE: Finally, themes -- FIX: figure out how to switch between themes more easily