vim: Use theme colors in fzf
This commit is contained in:
@@ -19,3 +19,22 @@ if (has('nvim'))
|
|||||||
highlight Normal guibg=NONE
|
highlight Normal guibg=NONE
|
||||||
highlight NonText guibg=NONE
|
highlight NonText guibg=NONE
|
||||||
endif
|
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
|
||||||
|
|||||||
Reference in New Issue
Block a user