m/fzf
1
0
mirror of https://github.com/junegunn/fzf.git synced 2025-11-18 00:03:39 -05:00

[vim] Respect g:fzf_colors

Close #711
This commit is contained in:
Junegunn Choi
2016-10-22 01:14:04 +09:00
parent 400e443a0a
commit 37f2d8f795
3 changed files with 26 additions and 3 deletions

View File

@@ -143,6 +143,10 @@ Execute (fzf#wrap):
Assert opts.options =~ '--history /tmp/foobar'
Assert opts.options =~ '--color light'
let g:fzf_colors = { 'fg': ['fg', 'Error'] }
let opts = fzf#wrap({})
Assert opts.options =~ '^--color=fg:'
Execute (Cleanup):
unlet g:dir
Restore