diff options
| author | srdusr <trevorgray@srdusr.com> | 2022-10-29 13:45:08 +0200 |
|---|---|---|
| committer | srdusr <trevorgray@srdusr.com> | 2022-10-29 13:45:08 +0200 |
| commit | 1c3506724b93b5914af223b0464b84f1c219399b (patch) | |
| tree | 701f5ca76f1ec12644b2bb66d9aa983634e98892 /lua/user/nvim-tree.lua | |
| parent | 7f30d31c9142bbeb10a21b4de9f58bc6d3a0a3f1 (diff) | |
| download | dotfiles-1c3506724b93b5914af223b0464b84f1c219399b.tar.gz dotfiles-1c3506724b93b5914af223b0464b84f1c219399b.zip | |
Removed duplicate files
Diffstat (limited to 'lua/user/nvim-tree.lua')
| -rw-r--r-- | lua/user/nvim-tree.lua | 68 |
1 files changed, 0 insertions, 68 deletions
diff --git a/lua/user/nvim-tree.lua b/lua/user/nvim-tree.lua deleted file mode 100644 index 74030cb..0000000 --- a/lua/user/nvim-tree.lua +++ /dev/null @@ -1,68 +0,0 @@ -local status_ok, nvim_tree = pcall(require, "nvim-tree") -if not status_ok then - return -end - -local config_status_ok, nvim_tree_config = pcall(require, "nvim-tree.config") -if not config_status_ok then - return -end - -local tree_cb = nvim_tree_config.nvim_tree_callback - -nvim_tree.setup({ - update_focused_file = { - enable = true, - update_cwd = true, - }, - renderer = { - root_folder_modifier = ":t", - icons = { - glyphs = { - default = "", - symlink = "", - folder = { - arrow_open = "", - arrow_closed = "", - default = "", - open = "", - empty = "", - empty_open = "", - symlink = "", - symlink_open = "", - }, - git = { - unstaged = "", - staged = "S", - unmerged = "", - renamed = "➜", - untracked = "U", - deleted = "", - ignored = "◌", - }, - }, - }, - }, - diagnostics = { - enable = true, - show_on_dirs = true, - icons = { - hint = "", - info = "", - warning = "", - error = "", - }, - }, - view = { - width = 30, - --height = 30, - side = "left", - mappings = { - list = { - { key = { "l", "<CR>", "o" }, cb = tree_cb("edit") }, - { key = "h", cb = tree_cb("close_node") }, - { key = "v", cb = tree_cb("vsplit") }, - }, - }, - }, -}) |
