We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 8b44075 commit 39989fcCopy full SHA for 39989fc
lua/nvim-tree/actions/fs/create-file.lua
@@ -2,7 +2,7 @@ local utils = require "nvim-tree.utils"
2
local events = require "nvim-tree.events"
3
local lib = require "nvim-tree.lib"
4
local core = require "nvim-tree.core"
5
-local watch = require "nvim-tree.explorer.watch"
+local reload = require "nvim-tree.explorer.reload"
6
local notify = require "nvim-tree.notify"
7
8
local M = {}
@@ -111,7 +111,7 @@ function M.fn(node)
111
-- synchronous call required so that we may focus the file now
112
node = node.nodes ~= nil and node or node.parent
113
if node then
114
- watch.refresh_node(node)
+ reload.refresh_node(node)
115
end
116
117
-- TODO #1731 #1716 this gets upset by watcher add new file to linked directories above
0 commit comments