all repos — dotfiles @ 0a867ad2e58c21d31f0ce106ab5812a152c6b83f

my *nix dotfiles

nvim/lua/tree.lua (view raw)

 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
 27
 28
 29
 30
 31
 32
 33
 34
 35
-- disable netrw at the very start of your init.lua
vim.g.loaded_netrw = 1
vim.g.loaded_netrwPlugin = 1

-- empty setup using defaults
require('nvim-tree').setup{
  sort = {
    sorter = 'case_sensitive',
  },
  renderer = {
    icons =  {
      show = {
        file = false,
        folder = false,
        folder_arrow = false,
        git = true,
        modified = true,
        diagnostics = true,
        bookmarks = false,
      },
      glyphs = {
        symlink = "L",
        git = {
          unstaged = "M",
          staged = "A",
          unmerged = "",
          renamed = "→",
          untracked = "?",
          deleted = "D",
          ignored = "",
        },
      },
    },
  },
}