mirror of
https://github.com/kristoferssolo/telescope-frecency.nvim.git
synced 2025-10-21 20:10:38 +00:00
fix: detect nullable config values (#183)
The previous logic makes it ignore nullable config values.
This commit is contained in:
parent
ebf22789f6
commit
8e3e5ba645
@ -42,10 +42,23 @@ Config.new = function()
|
|||||||
workspaces = {},
|
workspaces = {},
|
||||||
}
|
}
|
||||||
---@type table<string, boolean>
|
---@type table<string, boolean>
|
||||||
local keys = {}
|
local keys = {
|
||||||
for k, _ in pairs(default_values) do
|
auto_validate = true,
|
||||||
keys[k] = true
|
db_root = true,
|
||||||
end
|
db_safe_mode = true,
|
||||||
|
db_validate_threshold = true,
|
||||||
|
default_workspace = true,
|
||||||
|
disable_devicons = true,
|
||||||
|
filter_delimiter = true,
|
||||||
|
hide_current_buffer = true,
|
||||||
|
ignore_patterns = true,
|
||||||
|
max_timestamps = true,
|
||||||
|
show_filter_column = true,
|
||||||
|
show_scores = true,
|
||||||
|
show_unindexed = true,
|
||||||
|
workspace_scan_cmd = true,
|
||||||
|
workspaces = true,
|
||||||
|
}
|
||||||
return setmetatable({
|
return setmetatable({
|
||||||
values = default_values,
|
values = default_values,
|
||||||
}, {
|
}, {
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user