diff --git a/init.lua b/init.lua index e2478c00..11770d7d 100644 --- a/init.lua +++ b/init.lua @@ -250,21 +250,33 @@ rtp:prepend(lazypath) -- NOTE: Here is where you install your plugins. require('lazy').setup({ -- NOTE: Plugins can be added with a link (or for a github repo: 'owner/repo' link). + 'NMAC427/guess-indent.nvim', - -- Detect tabstop and shiftwidth automatically - { - 'NMAC427/guess-indent.nvim', - config = function() - require('guess-indent').setup {} - end, - }, -- NOTE: Plugins can also be added by using a table, -- with the first argument being the link and the following -- keys can be used to configure plugin behavior/loading/etc. -- -- Use `opts = {}` to automatically pass options to a plugin's `setup()` function, forcing the plugin to be loaded. -- - + -- NeoTree + { + 'nvim-neo-tree/neo-tree.nvim', + branch = 'v3.x', + dependencies = { + 'nvim-lua/plenary.nvim', + 'MunifTanjim/nui.nvim', + 'nvim-tree/nvim-web-devicons', -- optional, but recommended + }, + lazy = false, -- neo-tree will lazily load itself + keys = { + { '', ':Neotree toggle', desc = 'Toggle Neo-tree' }, + }, + config = function() + require('neo-tree').setup { + -- your Neo-tree settings here + } + end, + }, -- Alternatively, use `config = function() ... end` for full control over the configuration. -- If you prefer to call `setup` explicitly, use: -- {