Icons: allow setting a string as file icon

Closes https://github.com/kyazdani42/nvim-tree.lua/issues/45
This commit is contained in:
Santos Gallegos
2020-08-02 11:40:51 -05:00
parent 464ce21feb
commit a2e0db6123
2 changed files with 3 additions and 3 deletions

View File

@@ -3,7 +3,7 @@ local M = {}
function M.get_icon_state()
local show_icons = vim.g.lua_tree_show_icons or { git = 1, folders = 1, files = 1 }
local icons = {
default = nil,
default = "",
git_icons = {
unstaged = "",
staged = "",