nvim/lua/tree.lua (view raw)
1-- disable netrw at the very start of your init.lua
2vim.g.loaded_netrw = 1
3vim.g.loaded_netrwPlugin = 1
4
5-- empty setup using defaults
6require('nvim-tree').setup{
7 sort = {
8 sorter = 'case_sensitive',
9 },
10 renderer = {
11 icons = {
12 show = {
13 file = false,
14 folder = false,
15 folder_arrow = false,
16 git = true,
17 modified = true,
18 diagnostics = true,
19 bookmarks = false,
20 },
21 glyphs = {
22 symlink = "L",
23 git = {
24 unstaged = "M",
25 staged = "A",
26 unmerged = "",
27 renamed = "→",
28 untracked = "?",
29 deleted = "D",
30 ignored = "",
31 },
32 },
33 },
34 },
35}