summaryrefslogtreecommitdiff
path: root/.config/nvim/lua/setup/nvim-tree.lua
diff options
context:
space:
mode:
Diffstat (limited to '.config/nvim/lua/setup/nvim-tree.lua')
-rw-r--r--.config/nvim/lua/setup/nvim-tree.lua26
1 files changed, 26 insertions, 0 deletions
diff --git a/.config/nvim/lua/setup/nvim-tree.lua b/.config/nvim/lua/setup/nvim-tree.lua
new file mode 100644
index 0000000..2903fb0
--- /dev/null
+++ b/.config/nvim/lua/setup/nvim-tree.lua
@@ -0,0 +1,26 @@
+vim.cmd('highlight NvimTreeIndentMarker guifg=#3b414c gui=nocombine')
+
+require 'nvim-tree'.setup {
+ hijack_cursor = true,
+ renderer = {
+ icons = {
+ webdev_colors = true,
+ },
+ indent_markers = {
+ enable = true,
+ },
+ },
+ view = {
+ side = "left",
+ hide_root_folder = true,
+ },
+ git = {
+ enable = false,
+ ignore = false,
+ },
+ actions = {
+ open_file = {
+ resize_window = true,
+ },
+ },
+}