aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAleksa Vuckovic <aleksa@vuckovic.cc>2023-10-16 19:49:18 +0200
committerAleksa Vuckovic <aleksa@vuckovic.cc>2023-10-16 19:49:18 +0200
commit5ff887663b63d1903b73c0172828a1ce96bda32e (patch)
tree3a132f4af4a345d77d20c63900354437d93a9217
parent88af70e85835af1a39a579ffe1735caafc4113a0 (diff)
deprication fixesHEADmaster
-rw-r--r--lua/user/nvim-tree.lua13
1 files changed, 0 insertions, 13 deletions
diff --git a/lua/user/nvim-tree.lua b/lua/user/nvim-tree.lua
index 8a8518a..bdc2d50 100644
--- a/lua/user/nvim-tree.lua
+++ b/lua/user/nvim-tree.lua
@@ -4,15 +4,6 @@ if not nvim_tree_status then
return
end
-local nvim_tree_config_status, nvim_tree_config = pcall(require, "nvim-tree.config")
-if not nvim_tree_config_status then
- print("nvim-tree.lua: loading nvim-tree.config failed")
- return
-end
-
-
-local tree_cb = nvim_tree_config.nvim_tree_callback
-
nvim_tree.setup {
disable_netrw = true,
hijack_netrw = true,
@@ -48,11 +39,7 @@ nvim_tree.setup {
},
view = {
width = 30,
- hide_root_folder = false,
side = "left",
- mappings = {
- custom_only = false,
- },
number = false,
relativenumber = false,
},