From bfa4e2743bb54b1d6586d6287ba1ae1160db28f0 Mon Sep 17 00:00:00 2001 From: Ottatop Date: Mon, 21 Aug 2023 21:30:51 -0500 Subject: [PATCH] Work on LDoc documentation --- api/lua/doc/window.lua | 12 ++++-------- 1 file changed, 4 insertions(+), 8 deletions(-) diff --git a/api/lua/doc/window.lua b/api/lua/doc/window.lua index cc7f5c5..7afa493 100644 --- a/api/lua/doc/window.lua +++ b/api/lua/doc/window.lua @@ -23,20 +23,16 @@ function window_module.get_focused() end function window_module.get_all() end ---Toggle the tag with the given name and (optional) output for the specified window. ----You can also provide a tag object instead of a name and output. ---@tparam Window w ----@tparam string name ----@tparam ?Output output +---@tparam Tag|table|string t A tag object, string of a name, `{ [1]: string, [2]: (string|Output)? }`, or `{ name: string, output: (string|Output)? }` ---@see Window.toggle_tag -function window_module.toggle_tag(w, name, output) end +function window_module.toggle_tag(w, t) end ---Move the specified window to the tag with the given name and (optional) output. ----You can also provide a tag object instead of a name and output. ---@tparam Window w ----@tparam string name ----@tparam ?Output output +---@tparam Tag|table|string t A tag object, string of a name, `{ [1]: string, [2]: (string|Output)? }`, or `{ name: string, output: (string|Output)? }` ---@see Window.move_to_tag -function window_module.move_to_tag(w, name, output) end +function window_module.move_to_tag(w, t) end ---Set the specified window's size. ---