From 306eb36d0bbf9e1e13cb36785dd377c90b78df77 Mon Sep 17 00:00:00 2001 From: Calvin Bochulak Date: Mon, 8 Apr 2024 19:55:47 -0600 Subject: [PATCH] fix(docs): correct @cast for direction --- lua/grapple.lua | 1 + 1 file changed, 1 insertion(+) diff --git a/lua/grapple.lua b/lua/grapple.lua index 8654f1b..47bff60 100644 --- a/lua/grapple.lua +++ b/lua/grapple.lua @@ -259,6 +259,7 @@ function Grapple.cycle_tags(direction, opts) or direction == "previous" and "prev" or direction + ---@cast direction "next" | "prev" if not vim.tbl_contains({ "next", "prev" }, direction) then return vim.notify(string.format("invalid direction: %s", direction), vim.log.levels.ERROR) end