+ {
+ 'ibhagwan/fzf-lua',
+ config = function()
+ -- calling `setup` is optional for customization
+ require('fzf-lua').setup({
+ winopts={
+ width=1,
+ height=0.4,
+ row=1
+ },
+ fzf_opts={
+ ['--layout']='default'
+ },
+ fzf_colors = {
+ ['fg'] = {'fg', 'Normal'},
+ ['bg'] = {'bg', 'Normal'},
+ ['hl'] = {'fg', 'Comment'},
+ ['fg+'] = {'fg', 'CursorLine'},
+ ['bg+'] = {'bg', 'CursorLine'},
+ ['hl+'] = {'fg', 'Statement'},
+ ['info'] = {'fg', 'PreProc'},
+ ['prompt'] = {'fg', 'Conditional'},
+ ['pointer'] = {'fg', 'Exception'},
+ ['marker'] = {'fg', 'Keyword'},
+ ['spinner'] = {'fg', 'Label'},
+ ['header'] = {'fg', 'Comment'}
+ },
+ previewers = {
+ builtin = {
+ extensions = {
+ ['png'] = { 'chafa', '-f', 'symbols', '{file}' },
+ ['gif'] = { 'chafa', '-f', 'symbols', '{file}' },
+ ['svg'] = { 'chafa', '-f', 'symbols', '{file}' },
+ ['jpg'] = { 'chafa', '-f', 'symbols', '{file}' },
+ ['jpeg'] = { 'chafa', '-f', 'symbols', '{file}' }
+ }
+ }
+ }
+ })
+ end
+ },