Skip to content

Commit 112b1b6

Browse files
committed
file devicon uses library to fall back
1 parent e8fc9ec commit 112b1b6

File tree

4 files changed

+4
-4
lines changed

4 files changed

+4
-4
lines changed

lua/nvim-tree/node/directory.lua

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
local git_utils = require("nvim-tree.git.utils")
2-
local icons = require("nvim-tree.renderer.components.icons")
2+
local icons = require("nvim-tree.renderer.components.devicons")
33
local notify = require("nvim-tree.notify")
44
local Node = require("nvim-tree.node")
55

lua/nvim-tree/node/file.lua

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
local git_utils = require("nvim-tree.git.utils")
2-
local icons = require("nvim-tree.renderer.components.icons")
2+
local icons = require("nvim-tree.renderer.components.devicons")
33
local utils = require("nvim-tree.utils")
44

55
local Node = require("nvim-tree.node")

lua/nvim-tree/renderer/components/init.lua

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,13 +2,13 @@ local M = {}
22

33
M.diagnostics = require("nvim-tree.renderer.components.diagnostics")
44
M.full_name = require("nvim-tree.renderer.components.full-name")
5-
M.icons = require("nvim-tree.renderer.components.icons")
5+
M.devicons = require("nvim-tree.renderer.components.devicons")
66
M.padding = require("nvim-tree.renderer.components.padding")
77

88
function M.setup(opts)
99
M.diagnostics.setup(opts)
1010
M.full_name.setup(opts)
11-
M.icons.setup(opts)
11+
M.devicons.setup(opts)
1212
M.padding.setup(opts)
1313
end
1414

0 commit comments

Comments
 (0)