You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
21 lines
416 B
Lua
21 lines
416 B
Lua
-- Tree explorer
|
|
return {
|
|
"kyazdani42/nvim-tree.lua",
|
|
dependencies = { "kyazdani42/nvim-web-devicons" },
|
|
opts = {
|
|
diagnostics = {
|
|
enable = true,
|
|
show_on_dirs = true,
|
|
},
|
|
renderer = {
|
|
highlight_git = true,
|
|
},
|
|
},
|
|
config = function(spec)
|
|
require("nvim-tree").setup(spec.opts)
|
|
|
|
-- Open/close with alt-o
|
|
vim.keymap.set("n", "<M-o>", vim.cmd.NvimTreeToggle)
|
|
end,
|
|
}
|