We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 36afa32 commit 0708a1cCopy full SHA for 0708a1c
lua/nvim-tree.lua
@@ -13,9 +13,7 @@ local _config = {}
13
local M = {}
14
15
function M.focus()
16
- if not view.win_open() then
17
- lib.open()
18
- end
+ M.open()
19
view.focus();
20
end
21
@@ -29,17 +27,13 @@ function M.toggle(find_file)
29
27
if _config.update_focused_file.enable or find_file then
30
28
M.find_file(true)
31
32
33
34
35
36
37
38
function M.open()
39
if not view.win_open() then
40
lib.open()
41
- else
42
- lib.set_target_win()
43
44
45
0 commit comments