File tree Expand file tree Collapse file tree 3 files changed +2
-4
lines changed Expand file tree Collapse file tree 3 files changed +2
-4
lines changed Original file line number Diff line number Diff line change @@ -6,7 +6,6 @@ local M = {}
6
6
--- @return render.md.CustomCheckbox ?
7
7
M .get_exact = function (value )
8
8
for _ , checkbox in pairs (state .config .checkbox .custom ) do
9
- --- @diagnostic disable-next-line : undefined-field
10
9
if checkbox .text == value then
11
10
return checkbox
12
11
end
18
17
--- @return render.md.CustomCheckbox ?
19
18
M .get_starts = function (value )
20
19
for _ , checkbox in pairs (state .config .checkbox .custom ) do
21
- --- @diagnostic disable-next-line : undefined-field
22
20
if vim .startswith (value , checkbox .text ) then
23
21
return checkbox
24
22
end
Original file line number Diff line number Diff line change @@ -49,7 +49,7 @@ local M = {}
49
49
--- @class render.md.UserCheckbox
50
50
--- @field public unchecked ? string
51
51
--- @field public checked ? string
52
- --- @field public custom ? table<string , render.md.CustomCheckbox[] >
52
+ --- @field public custom ? table<string , render.md.CustomCheckbox>
53
53
54
54
--- @class render.md.UserConfig
55
55
--- @field public start_enabled ? boolean
Original file line number Diff line number Diff line change 31
31
--- @class render.md.Checkbox
32
32
--- @field public unchecked string
33
33
--- @field public checked string
34
- --- @field public custom table<string , render.md.CustomCheckbox[] >
34
+ --- @field public custom table<string , render.md.CustomCheckbox>
35
35
36
36
--- @class render.md.Config
37
37
--- @field public start_enabled boolean
You can’t perform that action at this time.
0 commit comments