diff --git a/README.md b/README.md index 145f677..6b3b967 100644 --- a/README.md +++ b/README.md @@ -581,7 +581,7 @@ require'fzf-lua'.setup { -- second returned argument are addtional rg flags -- rg_glob_fn = function(opts, query) -- ... - -- return flags, new_query + -- return new_query, flags -- end, actions = { -- actions inherit from 'actions.files' and merge diff --git a/doc/fzf-lua.txt b/doc/fzf-lua.txt index 41983c6..55d9d4e 100644 --- a/doc/fzf-lua.txt +++ b/doc/fzf-lua.txt @@ -626,7 +626,7 @@ Consult the list below for available settings: -- second returned argument are addtional rg flags -- rg_glob_fn = function(opts, query) -- ... - -- return flags, new_query + -- return new_query, flags -- end, actions = { -- actions inherit from 'actions.files' and merge