Skip to content

Commit

Permalink
fix nvim-tree
Browse files Browse the repository at this point in the history
  • Loading branch information
abzcoding committed May 31, 2022
1 parent 9497c55 commit cf0a5df
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion lua/user/builtin.lua
Original file line number Diff line number Diff line change
Expand Up @@ -290,7 +290,7 @@ M.config = function()
error = kind.icons.error,
},
}
lvim.builtin.nvimtree.icons = kind.nvim_tree_icons
lvim.builtin.nvimtree.setup.renderer.icons.glyphs = kind.nvim_tree_icons
lvim.builtin.nvimtree.on_config_done = function(_)
lvim.builtin.which_key.mappings["e"] = { "<cmd>NvimTreeToggle<CR>", " Explorer" }
end
Expand Down
10 changes: 5 additions & 5 deletions lua/user/dev_icons.lua
Original file line number Diff line number Diff line change
Expand Up @@ -76,11 +76,11 @@ M.use_my_icons = function()
end
lvim.builtin.nvimtree.setup.diagnostics.enable = true
lvim.builtin.nvimtree.setup.renderer.icons.webdev_colors = true
lvim.builtin.nvimtree.show_icons = {
git = 1,
folders = 1,
files = 1,
folder_arrows = 1,
lvim.builtin.nvimtree.setup.renderer.icons.show = {
git = true,
folder = true,
file = true,
folder_arrow = true,
}
vim.fn.sign_define("DapBreakpoint", lvim.builtin.dap.breakpoint)
vim.fn.sign_define("DapBreakpointRejected", lvim.builtin.dap.breakpoint_rejected)
Expand Down

0 comments on commit cf0a5df

Please sign in to comment.