Skip to content

Commit 306eb36

Browse files
committed
fix(docs): correct @cast for direction
1 parent c5e9787 commit 306eb36

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

lua/grapple.lua

+1
Original file line numberDiff line numberDiff line change
@@ -259,6 +259,7 @@ function Grapple.cycle_tags(direction, opts)
259259
or direction == "previous" and "prev"
260260
or direction
261261

262+
---@cast direction "next" | "prev"
262263
if not vim.tbl_contains({ "next", "prev" }, direction) then
263264
return vim.notify(string.format("invalid direction: %s", direction), vim.log.levels.ERROR)
264265
end

0 commit comments

Comments
 (0)