aboutsummaryrefslogtreecommitdiff
path: root/nvim/lua/plugins/nvim-tree.lua
diff options
context:
space:
mode:
authorsrdusr <trevorgray@srdusr.com>2022-10-13 23:52:54 +0200
committersrdusr <trevorgray@srdusr.com>2022-10-13 23:52:54 +0200
commit86628d459cabd0c29f0cdbb699e2e18807b958ed (patch)
tree512801524e303fd9485496ed0f1dcd52d62cb38b /nvim/lua/plugins/nvim-tree.lua
parentc349d1f7998d97f60d3a3945ce8da166b33bf1c8 (diff)
downloaddotfiles-86628d459cabd0c29f0cdbb699e2e18807b958ed.tar.gz
dotfiles-86628d459cabd0c29f0cdbb699e2e18807b958ed.zip
Removed unnecessary files/lines
Diffstat (limited to 'nvim/lua/plugins/nvim-tree.lua')
-rw-r--r--nvim/lua/plugins/nvim-tree.lua68
1 files changed, 0 insertions, 68 deletions
diff --git a/nvim/lua/plugins/nvim-tree.lua b/nvim/lua/plugins/nvim-tree.lua
deleted file mode 100644
index f362659..0000000
--- a/nvim/lua/plugins/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 = "right",
- mappings = {
- list = {
- { key = { "l", "<CR>", "o" }, cb = tree_cb("edit") },
- { key = "h", cb = tree_cb("close_node") },
- { key = "v", cb = tree_cb("vsplit") },
- },
- },
- },
-})