Gered
4e86ed636a
enable_git_status is being added here solely to make it easy to disable in the future should it cause any problems (e.g. slow performance over remotely mounted filesystems). the default for this option is 'true'
30 lines
672 B
Lua
30 lines
672 B
Lua
return {
|
|
{ -- Neo-tree is a Neovim plugin to browse the file system
|
|
|
|
'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',
|
|
},
|
|
cmd = 'Neotree',
|
|
keys = {
|
|
{ '\\', ':Neotree reveal<CR>', desc = 'NeoTree reveal', silent = true },
|
|
},
|
|
opts = {
|
|
enable_git_status = true,
|
|
filesystem = {
|
|
use_libuv_file_watcher = true,
|
|
window = {
|
|
mappings = {
|
|
['\\'] = 'close_window',
|
|
},
|
|
},
|
|
},
|
|
},
|
|
},
|
|
}
|
|
|
|
-- vim: ts=2 sts=2 sw=2 et
|