update docstrings

This commit is contained in:
kyasuda
2025-08-19 15:21:21 -07:00
parent a53991c53d
commit 8f49547f85
3 changed files with 13 additions and 2 deletions

View File

@@ -4,8 +4,8 @@ local whichkey = require("which-key")
vim.notify = require("notify")
---Helper function to add mappings to which-key
---@parm mappings table : List of mappings to add to which-key
---@parm group table : Group to add mappings to (optional)
---@param mappings table List of mappings to add
---@param group table Group to add mappings to (optional)
---@return nil
---@usage addToWhichKey(mappings, group)
---@example addToWhichKey({{key = "n", cmd = "next", mode = "n", desc = "Next Line", group = "Navigation"}, {key = "t", group = "example"})