add nvimtree
This commit is contained in:
parent
33f4ce88ef
commit
87ce55295b
3 changed files with 28 additions and 5 deletions
|
@ -60,16 +60,16 @@ return {
|
|||
}
|
||||
},
|
||||
outline = {
|
||||
win_position = 'left',
|
||||
win_width = 47,
|
||||
auto_preview = false,
|
||||
win_position = 'right',
|
||||
win_width = 32,
|
||||
auto_preview = true,
|
||||
},
|
||||
lightbulb = {
|
||||
enable = false
|
||||
},
|
||||
ui = {
|
||||
code_action = '',
|
||||
title = false,
|
||||
title = true,
|
||||
border = 'rounded',
|
||||
},
|
||||
rename = {
|
||||
|
@ -94,7 +94,7 @@ return {
|
|||
},
|
||||
},
|
||||
diagnostic = {
|
||||
border_follow = false,
|
||||
border_follow = true,
|
||||
extend_relatedInformation = true,
|
||||
keys = {
|
||||
quit = { '<Esc>', 'q' },
|
||||
|
|
18
lua/plugin/nvimtree.lua
Normal file
18
lua/plugin/nvimtree.lua
Normal file
|
@ -0,0 +1,18 @@
|
|||
return {
|
||||
"nvim-tree/nvim-tree.lua",
|
||||
version = "*",
|
||||
lazy = false,
|
||||
dependencies = {
|
||||
"nvim-tree/nvim-web-devicons",
|
||||
},
|
||||
keys = {
|
||||
{ "<leader>F", "<cmd>NvimTreeToggle<cr>", desc = "Toggle Filetree" },
|
||||
},
|
||||
config = function()
|
||||
require("nvim-tree").setup({
|
||||
view = {
|
||||
width = 42,
|
||||
},
|
||||
})
|
||||
end,
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue