diff options
author | Abouzar Parvan <[email protected]> | 2021-10-10 14:25:38 +0330 |
---|---|---|
committer | GitHub <[email protected]> | 2021-10-10 14:25:38 +0330 |
commit | e2c85df440564a62fd804555747b1652a6844a5e (patch) | |
tree | 4654c1cd61547e7709fd0efd33444a821db80c36 /lua | |
parent | 8c03df505f63c5b326f16e63e06eb86023153868 (diff) |
fix: anything not in setup should be set using zero and one (#1733)
Diffstat (limited to 'lua')
-rw-r--r-- | lua/core/nvimtree.lua | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/lua/core/nvimtree.lua b/lua/core/nvimtree.lua index 048e25f7..2d131147 100644 --- a/lua/core/nvimtree.lua +++ b/lua/core/nvimtree.lua @@ -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 |