diff --git a/fnl/nix-update/fetches.fnl b/fnl/nix-update/fetches.fnl index 22d071c..3737bdd 100644 --- a/fnl/nix-update/fetches.fnl +++ b/fnl/nix-update/fetches.fnl @@ -514,7 +514,13 @@ (let [fetches-query (gen-fetches-query)] ;;; For each query match (icollect [_pattern matcher _metadata - (fetches-query:iter_matches root bufnr 0 -1)] + (fetches-query:iter_matches + root + bufnr + 0 + -1 + ;; NOTE: stable `nvim` compatability + {:all true})] ;;; Construct a table from ... (do (local res {}) diff --git a/lua/nix-update/fetches.lua b/lua/nix-update/fetches.lua index d09dc78..a454699 100644 --- a/lua/nix-update/fetches.lua +++ b/lua/nix-update/fetches.lua @@ -513,7 +513,7 @@ local found_fetches do local fetches_query = gen_fetches_query() - local tbl_21_auto = {} local i_22_auto = 0 for _pattern, matcher, _metadata in fetches_query:iter_matches(root, bufnr0, 0, -1) do local val_23_auto + local tbl_21_auto = {} local i_22_auto = 0 for _pattern, matcher, _metadata in fetches_query:iter_matches(root, bufnr0, 0, -1, {all = true}) do local val_23_auto do