Skip to content

Commit fbfa65b

Browse files
committed
add method comments
1 parent 464930d commit fbfa65b

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

lua/nvim-tree/marks/init.lua

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -65,6 +65,8 @@ local Marks = Class:extend()
6565
---@class (exact) MarksArgs
6666
---@field explorer Explorer
6767

68+
---@protected
69+
---@param args MarksArgs
6870
function Marks:new(args)
6971
self.explorer = args.explorer
7072
self.marks = load_bookmarks(self.explorer.opts) or {}
@@ -86,6 +88,8 @@ function Marks:clear()
8688
self.explorer.renderer:draw()
8789
end
8890

91+
---@public
92+
---@param node Node
8993
function Marks:toggle(node)
9094
if node.absolute_path == nil then
9195
return

0 commit comments

Comments
 (0)