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 fa64574 commit 3c02497Copy full SHA for 3c02497
lua/nvim-tree/view.lua
@@ -10,6 +10,12 @@ local Class = require("nvim-tree.classic")
10
---@field resize boolean|nil default true
11
---@field winid number|nil 0 or nil for current
12
13
+local M = {}
14
+
15
+local DEFAULT_MIN_WIDTH = 30
16
+local DEFAULT_MAX_WIDTH = -1
17
+local DEFAULT_PADDING = 1
18
19
--TODO attempt to type the tables, at least the options ones
20
21
---@class (exact) View: Class
@@ -100,12 +106,6 @@ function View:new(args)
100
106
self.initial_width = self:get_width()
101
107
end
102
108
103
-local M = {}
104
-
105
-local DEFAULT_MIN_WIDTH = 30
-local DEFAULT_MAX_WIDTH = -1
-local DEFAULT_PADDING = 1
109
-- The initial state of a tab
110
local tabinitial = {
111
-- The position of the cursor { line, column }
0 commit comments