added 'args.files_only' to README

main
bhagwan 3 years ago
parent cc74396e8f
commit 275a351c98

@ -414,6 +414,7 @@ require'fzf-lua'.setup {
}, },
args = { args = {
prompt = 'Args ', prompt = 'Args ',
files_only = true,
actions = { actions = {
-- added on top of regular file actions -- added on top of regular file actions
["ctrl-x"] = actions.arg_del, ["ctrl-x"] = actions.arg_del,

@ -448,6 +448,7 @@ Consult the list below for available settings:
}, },
args = { args = {
prompt = 'Args ', prompt = 'Args ',
files_only = true,
actions = { actions = {
-- added on top of regular file actions -- added on top of regular file actions
["ctrl-x"] = actions.arg_del, ["ctrl-x"] = actions.arg_del,

@ -216,6 +216,7 @@ M.globals.grep = {
M.globals.args = { M.globals.args = {
previewer = function() return M.globals.default_previewer end, previewer = function() return M.globals.default_previewer end,
prompt = 'Args> ', prompt = 'Args> ',
files_only = true,
file_icons = true and M._has_devicons, file_icons = true and M._has_devicons,
color_icons = true, color_icons = true,
git_icons = true, git_icons = true,

Loading…
Cancel
Save