Skip to content

Commit

Permalink
chore: updated README to match new defaults
Browse files Browse the repository at this point in the history
  • Loading branch information
ibhagwan committed Nov 22, 2023
1 parent 413c419 commit b9b4080
Showing 1 changed file with 11 additions and 11 deletions.
22 changes: 11 additions & 11 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -986,7 +986,7 @@ require'fzf-lua'.setup {
-- start = "cursor" -- start display from cursor?
fzf_opts = {
-- hide filename, tiebreak by line no.
['--delimiter'] = "'[\\]:]'",
["--delimiter"] = "'[:]'",
["--with-nth"] = '2..',
["--tiebreak"] = 'index',
["--tabstop"] = "1",
Expand All @@ -1008,6 +1008,7 @@ require'fzf-lua'.setup {
-- 'tags_live_grep' options, `rg` prioritizes over `grep`
rg_opts = "--no-heading --color=always --smart-case",
grep_opts = "--color=auto --perl-regexp",
fzf_opts = { ["--tiebreak"] = "begin" },
actions = {
-- actions inherit from 'actions.files' and merge
-- this action toggles between 'grep' and 'live_grep'
Expand All @@ -1021,16 +1022,11 @@ require'fzf-lua'.setup {
ctags_file = nil, -- auto-detect from tags-option
ctags_autogen = false, -- dynamically generate ctags each call
multiprocess = true,
file_icons = true,
git_icons = true,
color_icons = true,
rg_opts = "--no-heading --color=always",
grep_opts = "--color=auto --perl-regexp",
fzf_opts = {
['--delimiter'] = "'[\\]:]'",
["--with-nth"] = '2..',
["--tiebreak"] = 'index',
},
file_icons = false,
git_icons = false,
rg_opts = "--color=never --no-heading",
grep_opts = "--color=never --perl-regexp",
fzf_opts = { ["--tiebreak"] = "begin" },
-- actions inherit from 'actions.files'
},
colorschemes = {
Expand Down Expand Up @@ -1122,6 +1118,10 @@ require'fzf-lua'.setup {
symbol_fmt = function(s, opts) return "[" .. s .. "]" end,
-- prefix child symbols. set to any string or `false` to disable
child_prefix = true,
fzf_opts = {
["--tiebreak"] = "begin",
["--info"] = "default",
},
},
code_actions = {
prompt = 'Code Actions> ',
Expand Down

0 comments on commit b9b4080

Please sign in to comment.