We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ce8f64d commit 0277464Copy full SHA for 0277464
lua/rest-nvim/config/check.lua
@@ -91,7 +91,10 @@ function check.get_unrecognized_keys(tbl, default_tbl)
91
if type(default_tbl[k]) == "table" and tbl[k] then
92
for _, subk in pairs(check.get_unrecognized_keys(tbl[k], default_tbl[k])) do
93
local key = k .. "." .. subk
94
- ret[key] = key
+ -- Keybinds configuration table requires a special treatment as it does not have a "static" syntax
95
+ if k ~= "keybinds" or k == "keybinds" and type(subk) ~= "number" then
96
+ ret[key] = key
97
+ end
98
end
99
100
0 commit comments