mirror of
https://github.com/He4eT/dotfiles.git
synced 2026-05-04 15:37:22 +00:00
nvim: fzf: use native colors
This commit is contained in:
parent
0c044bed57
commit
90985258a8
1 changed files with 4 additions and 19 deletions
|
|
@ -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()
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue