Skip to content

Commit 5015e72

Browse files
authored
remove tabs (#1047)
1 parent ac858a2 commit 5015e72

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

lua/nvim-tree/view.lua

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -168,10 +168,10 @@ function M.open(options)
168168
set_window_options_and_buffer()
169169
M.resize()
170170

171-
local opts = options or { focus_tree = true }
172-
if not opts.focus_tree then
173-
vim.cmd("wincmd p")
174-
end
171+
local opts = options or { focus_tree = true }
172+
if not opts.focus_tree then
173+
vim.cmd("wincmd p")
174+
end
175175
end
176176

177177
function M.resize(size)
@@ -190,9 +190,9 @@ function M.resize(size)
190190
a.nvim_win_set_height(M.get_winnr(), get_size())
191191
end
192192

193-
if not M.View.preserve_window_proportions then
194-
vim.cmd(":wincmd =")
195-
end
193+
if not M.View.preserve_window_proportions then
194+
vim.cmd(":wincmd =")
195+
end
196196
end
197197

198198
function M.reposition_window()

0 commit comments

Comments
 (0)