summaryrefslogtreecommitdiff
path: root/.config/nvim/lua/setup/nvim-tree.lua
blob: 2903fb0938ff9c99c84291fea0ff4f1524bb6ef1 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
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,
        },
    },
}