From 0934c7e25c435f50d458c94dea8464f05cbbf501 Mon Sep 17 00:00:00 2001 From: Max Luebke Date: Wed, 29 Jan 2025 16:36:11 +0100 Subject: [PATCH] Use NeoTree over nvim-tree --- init.lua | 3 ++- lua/custom/plugins/init.lua | 13 ++++++------- 2 files changed, 8 insertions(+), 8 deletions(-) diff --git a/init.lua b/init.lua index aff3b70..ae841e3 100644 --- a/init.lua +++ b/init.lua @@ -196,7 +196,7 @@ vim.keymap.set('n', '', '', { desc = 'Move focus to the right win vim.keymap.set('n', '', '', { desc = 'Move focus to the lower window' }) vim.keymap.set('n', '', '', { desc = 'Move focus to the upper window' }) -vim.keymap.set('n', 'tt', 'NvimTreeToggle', { desc = 'Toggle Nvim[T]ree' }) +vim.keymap.set('n', 'tt', 'Neotree', { desc = 'Toggle Neo[T]ree' }) -- [[ Basic Autocommands ]] -- See `:help lua-guide-autocommands` @@ -636,6 +636,7 @@ require('lazy').setup({ cmd = { 'clangd', '--offset-encoding=utf-16' }, }, cmake = {}, + julials = {}, -- gopls = {}, -- pyright = {}, -- rust_analyzer = {}, diff --git a/lua/custom/plugins/init.lua b/lua/custom/plugins/init.lua index 74fefb4..18b060d 100644 --- a/lua/custom/plugins/init.lua +++ b/lua/custom/plugins/init.lua @@ -25,15 +25,14 @@ return { }, }, { - 'nvim-tree/nvim-tree.lua', - version = '*', - lazy = false, + 'nvim-neo-tree/neo-tree.nvim', + branch = 'v3.x', dependencies = { - 'nvim-tree/nvim-web-devicons', + 'nvim-lua/plenary.nvim', + 'nvim-tree/nvim-web-devicons', -- not strictly required, but recommended + 'MunifTanjim/nui.nvim', + -- {"3rd/image.nvim", opts = {}}, -- Optional image support in preview window: See `# Preview Mode` for more information }, - config = function() - require('nvim-tree').setup {} - end, }, { 'windwp/nvim-autopairs',