nvim: fzf: use native colors

This commit is contained in:
He4eT 2025-08-27 13:36:21 +02:00
commit 90985258a8

View file

@ -344,9 +344,13 @@ require('lazy').setup({
local fzf = require 'fzf-lua' local fzf = require 'fzf-lua'
fzf.setup { fzf.setup {
fzf_colors = true,
winopts = { winopts = {
border = 'single', border = 'single',
fullscreen = true, fullscreen = true,
preview = {
border = 'single',
},
previewers = { previewers = {
builtin = { builtin = {
syntax = true, syntax = true,
@ -373,25 +377,6 @@ require('lazy').setup({
'^.yarn/', '^.yarn/',
}, },
}, },
fzf_opts = {
['--border'] = 'none',
['--preview-window'] = 'border-sharp',
},
fzf_colors = {
['fg'] = { 'fg', 'CursorLine' },
['bg'] = { 'bg', 'Normal' },
['hl'] = { 'fg', 'Comment' },
['fg+'] = { 'fg', 'Normal' },
['bg+'] = { 'bg', 'CursorLine' },
['hl+'] = { 'fg', 'Statement' },
['info'] = { 'fg', 'Normal' },
['prompt'] = { 'fg', 'Conditional' },
['pointer'] = { 'fg', 'Exception' },
['marker'] = { 'fg', 'Keyword' },
['spinner'] = { 'fg', 'Label' },
['header'] = { 'fg', 'Comment' },
['gutter'] = { 'bg', 'Normal' },
},
} }
local fzf_files = function() local fzf_files = function()