@@ -14,7 +14,6 @@ local Class = require("nvim-tree.classic")
14
14
--- @field private explorer Explorer
15
15
--- @field private adaptive_size boolean
16
16
--- @field private winopts table
17
- --- @field private height integer
18
17
--- @field private initial_width integer
19
18
--- @field private width (fun (): integer )| integer | string
20
19
--- @field private max_width integer
@@ -35,7 +34,6 @@ function View:new(args)
35
34
36
35
self .explorer = args .explorer
37
36
self .adaptive_size = false
38
- self .height = self .explorer .opts .view .height
39
37
self .side = (self .explorer .opts .view .side == " right" ) and " right" or " left"
40
38
self .live_filter = { prev_focused_node = nil , }
41
39
self .bufnr_by_tab = {}
@@ -419,7 +417,6 @@ function View:resize(size)
419
417
420
418
if size then
421
419
self .width = size
422
- self .height = size
423
420
end
424
421
425
422
if not self :is_visible () then
@@ -770,6 +767,7 @@ function View:is_width_determined()
770
767
return type (self .width ) ~= " function"
771
768
end
772
769
770
+ -- These are needed as they are populated only by the user, not configuration
773
771
local DEFAULT_MIN_WIDTH = 30
774
772
local DEFAULT_MAX_WIDTH = - 1
775
773
local DEFAULT_PADDING = 1
0 commit comments