fix: anything not in setup should be set using zero and one (#1733)

This commit is contained in:
Abouzar Parvan 2021-10-10 14:25:38 +03:30 committed by GitHub
parent 8c03df505f
commit e2c85df440
WARNING! Although there is a key with this ID in the database it does not verify this commit! This commit is SUSPICIOUS.
GPG key ID: 4AEE18F83AFDEB23

View file

@ -31,18 +31,18 @@ function M.config()
},
},
show_icons = {
git = true,
folders = true,
files = true,
folder_arrows = true,
git = 1,
folders = 1,
files = 1,
folder_arrows = 1,
tree_width = 30,
},
ignore = { ".git", "node_modules", ".cache" },
quit_on_open = false,
hide_dotfiles = true,
git_hl = true,
quit_on_open = 0,
hide_dotfiles = 1,
git_hl = 1,
root_folder_modifier = ":t",
allow_resize = true,
allow_resize = 1,
auto_ignore_ft = { "startify", "dashboard" },
icons = {
default = "",
@ -81,7 +81,7 @@ function M.setup()
-- Implicitly update nvim-tree when project module is active
if lvim.builtin.project.active then
lvim.builtin.nvimtree.respect_buf_cwd = true
lvim.builtin.nvimtree.respect_buf_cwd = 1
lvim.builtin.nvimtree.setup.update_cwd = true
lvim.builtin.nvimtree.setup.disable_netrw = false
lvim.builtin.nvimtree.setup.hijack_netrw = false