From e4ce096eb851347c40127c61b2fd2460abd05c59 Mon Sep 17 00:00:00 2001 From: Derek Sifford Date: Sun, 22 Apr 2018 18:47:04 -0400 Subject: [PATCH] add support for fzf (#75) --- after/plugin/dracula.vim | 26 ++++++++++++++++++++++++++ colors/dracula.vim | 10 +++++----- 2 files changed, 31 insertions(+), 5 deletions(-) create mode 100644 after/plugin/dracula.vim diff --git a/after/plugin/dracula.vim b/after/plugin/dracula.vim new file mode 100644 index 0000000..1366d97 --- /dev/null +++ b/after/plugin/dracula.vim @@ -0,0 +1,26 @@ +" Fzf: {{{ +if exists('g:loaded_fzf') && ! exists('g:fzf_colors') + let g:fzf_colors = { + \ 'fg': ['fg', 'Normal'], + \ 'bg': ['bg', 'Normal'], + \ 'hl': ['fg', 'Search'], + \ 'fg+': ['fg', 'Normal'], + \ 'bg+': ['bg', 'Normal'], + \ 'hl+': ['fg', 'DraculaOrange'], + \ 'info': ['fg', 'DraculaPurple'], + \ 'border': ['fg', 'Ignore'], + \ 'prompt': ['fg', 'DraculaGreen'], + \ 'pointer': ['fg', 'Exception'], + \ 'marker': ['fg', 'Keyword'], + \ 'spinner': ['fg', 'Label'], + \ 'header': ['fg', 'Comment'] } + + augroup dracula_fzf + autocmd! + autocmd FileType fzf set laststatus=0 noshowmode noruler + \| autocmd BufLeave set laststatus=2 showmode ruler + augroup END +endif +"}}} + +" vim: fdm=marker ts=2 sts=2 sw=2: diff --git a/colors/dracula.vim b/colors/dracula.vim index 6ff68a4..74fbe18 100644 --- a/colors/dracula.vim +++ b/colors/dracula.vim @@ -278,17 +278,17 @@ hi! link DiffText DraculaDiffText hi! link DiffDelete DraculaDiffDelete "}}}2 -" NetRW: {{{2 - -hi! link Directory DraculaPurpleBold - -" }}}2 " GitGutter: {{{2 hi! link GitGutterAdd DraculaGreen hi! link GitGutterChange DraculaYellow hi! link GitGutterChangeDelete DraculaOrange hi! link GitGutterDelete DraculaRed "}}}2 +" NetRW: {{{2 + +hi! link Directory DraculaPurpleBold + +" }}}2 " }}} " Syntax: {{{