We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent c5e9787 commit 306eb36Copy full SHA for 306eb36
lua/grapple.lua
@@ -259,6 +259,7 @@ function Grapple.cycle_tags(direction, opts)
259
or direction == "previous" and "prev"
260
or direction
261
262
+ ---@cast direction "next" | "prev"
263
if not vim.tbl_contains({ "next", "prev" }, direction) then
264
return vim.notify(string.format("invalid direction: %s", direction), vim.log.levels.ERROR)
265
end
0 commit comments