Skip to content

Commit

Permalink
fix: ore robust handling of configuration defaults. (#57)
Browse files Browse the repository at this point in the history
  • Loading branch information
crisidev authored May 25, 2022
1 parent 979a6f3 commit 68ac8cf
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lua/telescope/_extensions/frecency.lua
Original file line number Diff line number Diff line change
Expand Up @@ -285,8 +285,8 @@ return telescope.register_extension {
db_client.init(
ext_config.db_root,
ext_config.ignore_patterns,
ext_config.db_safe_mode or true,
ext_config.auto_validate or true
vim.F.if_nil(ext_config.db_safe_mode, true),
vim.F.if_nil(ext_config.auto_validate, true)
)
end,
exports = {
Expand Down

0 comments on commit 68ac8cf

Please sign in to comment.