25
25
M .map_keys_and_commands = function (global_opts )
26
26
map_key (" n" , global_opts .keymaps .normal .plain_below , {
27
27
callback = function ()
28
- --- @diagnostic disable-next-line : missing-fields
29
28
feedkeys (debugprint .debugprint ({}))
30
29
end ,
31
30
desc = " Plain debug below current line" ,
32
31
})
33
32
34
33
map_key (" n" , global_opts .keymaps .normal .plain_above , {
35
34
callback = function ()
36
- --- @diagnostic disable-next-line : missing-fields
37
35
feedkeys (debugprint .debugprint ({ above = true }))
38
36
end ,
39
37
desc = " Plain debug above current line" ,
40
38
})
41
39
42
40
map_key (" n" , global_opts .keymaps .normal .variable_below , {
43
41
callback = function ()
44
- --- @diagnostic disable-next-line : missing-fields
45
42
feedkeys (debugprint .debugprint ({ variable = true }))
46
43
end ,
47
44
desc = " Variable debug below current line" ,
48
45
})
49
46
50
47
map_key (" n" , global_opts .keymaps .normal .variable_above , {
51
48
callback = function ()
52
- --- @diagnostic disable-next-line : missing-fields
53
49
feedkeys (debugprint .debugprint ({
54
50
above = true ,
55
51
variable = true ,
@@ -60,7 +56,6 @@ M.map_keys_and_commands = function(global_opts)
60
56
61
57
map_key (" n" , global_opts .keymaps .normal .variable_below_alwaysprompt , {
62
58
callback = function ()
63
- --- @diagnostic disable-next-line : missing-fields
64
59
feedkeys (debugprint .debugprint ({
65
60
variable = true ,
66
61
ignore_treesitter = true ,
@@ -71,7 +66,6 @@ M.map_keys_and_commands = function(global_opts)
71
66
72
67
map_key (" n" , global_opts .keymaps .normal .variable_above_alwaysprompt , {
73
68
callback = function ()
74
- --- @diagnostic disable-next-line : missing-fields
75
69
feedkeys (debugprint .debugprint ({
76
70
above = true ,
77
71
variable = true ,
@@ -83,7 +77,6 @@ M.map_keys_and_commands = function(global_opts)
83
77
84
78
map_key (" n" , global_opts .keymaps .normal .textobj_below , {
85
79
callback = function ()
86
- --- @diagnostic disable-next-line : missing-fields
87
80
return debugprint .debugprint ({ motion = true })
88
81
end ,
89
82
expr = true ,
@@ -92,7 +85,6 @@ M.map_keys_and_commands = function(global_opts)
92
85
93
86
map_key (" n" , global_opts .keymaps .normal .textobj_above , {
94
87
callback = function ()
95
- --- @diagnostic disable-next-line : missing-fields
96
88
return debugprint .debugprint ({
97
89
motion = true ,
98
90
above = true ,
@@ -104,15 +96,13 @@ M.map_keys_and_commands = function(global_opts)
104
96
105
97
map_key (" x" , global_opts .keymaps .visual .variable_below , {
106
98
callback = function ()
107
- --- @diagnostic disable-next-line : missing-fields
108
99
feedkeys (debugprint .debugprint ({ variable = true }))
109
100
end ,
110
101
desc = " Variable debug below current line" ,
111
102
})
112
103
113
104
map_key (" x" , global_opts .keymaps .visual .variable_above , {
114
105
callback = function ()
115
- --- @diagnostic disable-next-line : missing-fields
116
106
feedkeys (debugprint .debugprint ({
117
107
above = true ,
118
108
variable = true ,
0 commit comments