vim: Use theme colors in fzf

This commit is contained in:
2020-12-24 02:00:42 +01:00
parent 00c6f56c69
commit c3f8f3761d

View File

@@ -19,3 +19,22 @@ if (has('nvim'))
highlight Normal guibg=NONE
highlight NonText guibg=NONE
endif
if (get(g:, 'loaded_fzf'))
" Use theme colors in fzf
let g:fzf_colors = {
\ 'fg': ['fg', 'Normal'],
\ 'bg': ['bg', 'Normal'],
\ 'hl': ['fg', 'Comment'],
\ 'fg+': ['fg', 'CursorLine', 'CursorColumn', 'Normal'],
\ 'bg+': ['bg', 'CursorLine', 'CursorColumn'],
\ 'hl+': ['fg', 'Statement'],
\ 'info': ['fg', 'PreProc'],
\ 'border': ['fg', 'Ignore'],
\ 'prompt': ['fg', 'Conditional'],
\ 'pointer': ['fg', 'Exception'],
\ 'marker': ['fg', 'Keyword'],
\ 'spinner': ['fg', 'Label'],
\ 'header': ['fg', 'Comment']
\ }
endif