25 lines
862 B
Lua
25 lines
862 B
Lua
return {
|
|
"nvim-neo-tree/neo-tree.nvim",
|
|
branch = "v3.x",
|
|
dependencies = {
|
|
"nvim-lua/plenary.nvim",
|
|
"nvim-tree/nvim-web-devicons",
|
|
"MunifTanjim/nui.nvim"
|
|
},
|
|
cmd = "Neotree",
|
|
init = function()
|
|
vim.fn.sign_define("DiagnosticSignError", { text = " ", texthl = "DiagnosticSignError" })
|
|
vim.fn.sign_define("DiagnosticSignWarn", { text = " ", texthl = "DiagnosticSignWarn" })
|
|
vim.fn.sign_define("DiagnosticSignInfo", { text = " ", texthl = "DiagnosticSignInfo" })
|
|
vim.fn.sign_define("DiagnosticSignHint", { text = "", texthl = "DiagnosticSignHint" })
|
|
end,
|
|
opts = {
|
|
close_if_last_window = true,
|
|
window = { width = "30" },
|
|
filesystem = {
|
|
follow_current_file = { enabled = true },
|
|
group_empty_dirs = true
|
|
}
|
|
}
|
|
}
|