setup neotree
This commit is contained in:
parent
30bf151a1b
commit
a2380addff
2 changed files with 26 additions and 0 deletions
16
after/plugin/neotree.lua
Normal file
16
after/plugin/neotree.lua
Normal file
|
@ -0,0 +1,16 @@
|
|||
require('neo-tree').setup{
|
||||
close_if_last_window = false,
|
||||
enable_diagnostics = true,
|
||||
enable_git_status = true,
|
||||
filesystem = {
|
||||
filtered_items = {
|
||||
visible = true
|
||||
},
|
||||
follow_current_file = {
|
||||
enabled = true
|
||||
},
|
||||
use_libuv_file_watcher = true
|
||||
}
|
||||
}
|
||||
|
||||
vim.keymap.set("n", "<leader>1", "<cmd>Neotree toggle<Return>")
|
|
@ -13,6 +13,16 @@ return require('packer').startup(function(use)
|
|||
}
|
||||
}
|
||||
|
||||
use {
|
||||
"nvim-neo-tree/neo-tree.nvim",
|
||||
branch = "v3.x",
|
||||
requires = {
|
||||
"nvim-lua/plenary.nvim",
|
||||
"nvim-tree/nvim-web-devicons",
|
||||
"MunifTanjim/nui.nvim"
|
||||
}
|
||||
}
|
||||
|
||||
use {
|
||||
'nvim-lualine/lualine.nvim',
|
||||
requires = { 'nvim-tree/nvim-web-devicons', opt = true }
|
||||
|
|
Loading…
Reference in a new issue