🐻 minimal ui2 fuzzy finder for Neovim codeberg.org/comfysage/artio.nvim
3
fork

Configure Feed

Select the types of activity you want to include in your feed.

fix(config): `vim.NIL` logic

fix https://github.com/comfysage/artio.nvim/issues/12

robin d6f6f1c5 7e9f879c

+6 -1
+6 -1
lua/artio/config.lua
··· 74 74 return tdefault 75 75 end 76 76 77 - if tdefault == vim.NIL or vim.islist(tdefault) then 77 + if vim.islist(tdefault) then 78 78 return toverride 79 79 end 80 80 if vim.tbl_isempty(tdefault) then ··· 82 82 end 83 83 84 84 return vim.iter(pairs(tdefault)):fold({}, function(tnew, k, v) 85 + if v == vim.NIL and toverride[k] ~= nil then 86 + tnew[k] = toverride[k] 87 + return tnew 88 + end 89 + 85 90 if toverride[k] == nil or type(v) ~= type(toverride[k]) then 86 91 tnew[k] = v 87 92 return tnew