Skip to content

Commit a4e527e

Browse files
Copilotsand4rt
andcommitted
fix: remove trailing semicolons and invalid [number]? from LuaDoc annotations
Agent-Logs-Url: https://github.com/sand4rt/zen.nvim/sessions/ec375353-ede5-4108-8ceb-0ba933b9a808 Co-authored-by: sand4rt <17591696+sand4rt@users.noreply.github.com>
1 parent 8efaebd commit a4e527e

2 files changed

Lines changed: 12 additions & 20 deletions

File tree

‎lua/zen/init.lua‎

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -4,20 +4,20 @@
44
--- @field filetype Filetype
55

66
--- @class Config
7-
--- @field main { width: number };
8-
--- @field top Integration[];
9-
--- @field right { min_width: number; [number]: Integration[]};
10-
--- @field bottom Integration[];
11-
--- @field left { min_width: number; [number]: Integration[]};
7+
--- @field main { width: number }
8+
--- @field top Integration[]
9+
--- @field right { min_width: number; [number]: Integration[]}
10+
--- @field bottom Integration[]
11+
--- @field left { min_width: number; [number]: Integration[]}
1212

1313
--- @class ConfigOptions
14-
--- @field main? { width?: number };
15-
--- @field top? Integration[];
16-
--- @field right? { min_width?: number; [number]?: Integration[]};
17-
--- @field bottom? Integration[];
18-
--- @field left? { min_width?: number; [number]?: Integration[]};
14+
--- @field main? { width?: number }
15+
--- @field top? Integration[]
16+
--- @field right? { min_width?: number; [number]: Integration[]}
17+
--- @field bottom? Integration[]
18+
--- @field left? { min_width?: number; [number]: Integration[]}
1919

20-
--- @type Config
20+
--- @type ConfigOptions
2121
local opts = {
2222
main = { width = 148 },
2323
top = {},
@@ -230,7 +230,7 @@ local function close(filetype)
230230
end
231231
end
232232

233-
---@param options? ConfigOptions
233+
---@param options? Config
234234
local function setup(options)
235235
-- Default splitting will cause your main splits to jump when opening an integration.
236236
-- To prevent this, set `splitkeep` to either `screen` or `topline`.

‎tests/test_splits.lua‎

Lines changed: 0 additions & 8 deletions
This file was deleted.

0 commit comments

Comments
 (0)