Skip to content

Commit b17a3e6

Browse files
committed
docs(types): reference hooks instead of callbacks
1 parent a5149d5 commit b17a3e6

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

lua/flatten/init.lua

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -93,11 +93,11 @@ local Flatten = {}
9393
---@field guest_cwd string
9494
---@field data any
9595

96-
---Passed into the pre_open callback
96+
---Passed into the pre_open hook
9797
---@class Flatten.PreOpenContext
9898
---@field data any
9999

100-
---Passed into the post_open callback
100+
---Passed into the post_open hook
101101
---@class Flatten.PostOpenContext
102102
---@field bufnr Flatten.BufferId
103103
---@field winnr Flatten.WindowId
@@ -106,12 +106,12 @@ local Flatten = {}
106106
---@field is_diff boolean
107107
---@field data any
108108

109-
---Passed into the block_end callback
109+
---Passed into the block_end hook
110110
---@class Flatten.BlockEndContext
111111
---@field filetype string
112112
---@field data any
113113

114-
---Passed into the no_files callback from the guest (cb is run on the host)
114+
---Passed into the no_files hook from the guest (cb is run on the host)
115115
---@class Flatten.NoFilesArgs
116116
---@field argv string[]
117117

0 commit comments

Comments
 (0)