Skip to content

Commit

Permalink
fix: annotations for exposed functions
Browse files Browse the repository at this point in the history
  • Loading branch information
theKnightsOfRohan committed Jan 30, 2025
1 parent f08c5a3 commit 4ab8459
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions lua/hexer/display.lua
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,8 @@ local M = {
}
}

---Hide the hexer window. Already bound to q & esc by default.
---@param self HexerDisplay
function M.hide_window(self)
self._window:hide()
self:_apply_buf_opts()
Expand Down Expand Up @@ -115,6 +117,9 @@ function M._fit_table(self)
})
end

---Opens the hexer buffer and updates it with the parsed arg.
---@param self HexerDisplay
---@param arg string | nil If nil or empty, will toggle buffer without updating
function M.hexer_open(self, arg)
self:_save_buf_opts()

Expand Down

0 comments on commit 4ab8459

Please sign in to comment.