diff options
Diffstat (limited to 'lua/user/nvim-tree.lua')
| -rw-r--r-- | lua/user/nvim-tree.lua | 59 |
1 files changed, 24 insertions, 35 deletions
diff --git a/lua/user/nvim-tree.lua b/lua/user/nvim-tree.lua index c64c5e1..e88a027 100644 --- a/lua/user/nvim-tree.lua +++ b/lua/user/nvim-tree.lua @@ -1,25 +1,5 @@ -- following options are the default -- each of these are documented in `:help nvim-tree.OPTION_NAME` -vim.g.nvim_tree_icons = { - default = "", - symlink = "", - git = { - unstaged = "", - staged = "S", - unmerged = "", - renamed = "➜", - deleted = "", - untracked = "U", - ignored = "◌", - }, - folder = { - default = "", - open = "", - empty = "", - empty_open = "", - symlink = "", - }, -} local status_ok, nvim_tree = pcall(require, "nvim-tree") if not status_ok then @@ -42,7 +22,6 @@ nvim_tree.setup { "dashboard", "alpha", }, - auto_close = true, open_on_tab = false, hijack_cursor = false, update_cwd = true, @@ -50,6 +29,30 @@ nvim_tree.setup { enable = true, auto_open = true, }, + renderer = { + icons = { + glyphs = { + default = "", + symlink = "", + git = { + unstaged = "", + staged = "S", + unmerged = "", + renamed = "➜", + deleted = "", + untracked = "U", + ignored = "◌", + }, + folder = { + default = "", + open = "", + empty = "", + empty_open = "", + symlink = "", + }, + }, + }, + }, diagnostics = { enable = true, icons = { @@ -94,22 +97,8 @@ nvim_tree.setup { number = false, relativenumber = false, }, -<<<<<<< HEAD trash = { cmd = "trash", require_confirm = true, }, -======= ->>>>>>> vgg - quit_on_open = 0, - git_hl = 1, - disable_window_picker = 0, - root_folder_modifier = ":t", - show_icons = { - git = 1, - folders = 1, - files = 1, - folder_arrows = 1, - tree_width = 30, - }, } |
