Files
nvim/lua/plugins/neo-tree.lua

30 lines
713 B
Lua

-- Neovim plugin to manage the file system
-- and other tree like structures
return {
'nvim-neo-tree/neo-tree.nvim',
enabled = true,
lazy = true,
keys = {
{ '<f1>', '<cmd>Neotree toggle<cr>', mode = { 'n', 'i', 'v', 't' }, desc = 'NeoTree toggle', noremap = true, silent = true },
},
branch = 'v3.x',
dependencies = {
-- Lua functions
{ 'nvim-lua/plenary.nvim' },
-- Provides Nerd Font icons (glyphs) for use by neovim plugins
{ 'nvim-tree/nvim-web-devicons' },
-- UI Component Library for Neovim
{ 'MunifTanjim/nui.nvim' },
},
opts = {
close_if_last_window = true,
clipboard = {
sync = "global"
},
enable_git_status = true,
enable_diagnostics = true
}
}