Improved neovim config

This commit is contained in:
Eduard Urbach 2023-08-21 19:19:37 +02:00
parent f6b9a5b57e
commit 383ebe0fba
Signed by: eduard
GPG key ID: 49226B848C78F6C8
15 changed files with 169 additions and 76 deletions

View file

@ -4,14 +4,26 @@ return {
dependencies = {
"nvim-tree/nvim-web-devicons",
},
config = function()
require("nvim-tree").setup({
view = {
width = 35,
},
renderer = {
root_folder_label = false
},
})
opts = {
filesystem_watchers = {
enable = true,
},
filters = {
dotfiles = false,
},
renderer = {
root_folder_label = false
},
sync_root_with_cwd = true,
update_focused_file = {
enable = true,
update_root = false,
},
view = {
width = 35,
},
},
config = function(_, opts)
require("nvim-tree").setup(opts)
end,
}