summaryrefslogtreecommitdiff
path: root/vim
diff options
context:
space:
mode:
authorUrbain Vaes <urbain@vaes.uk>2019-11-22 12:10:02 +0000
committerUrbain Vaes <urbain@vaes.uk>2020-02-12 14:01:27 +0000
commit7e8b21e8bf02f82dbf99c0c2ad2d7f04931a128e (patch)
tree0407bb122afde6bda779496f49cc1613142919d0 /vim
parentdb6b64e8a0429d1cdc15c0ccb56fa6d3b01be001 (diff)
Change background color of floating window
Diffstat (limited to 'vim')
-rw-r--r--vim/.vimrc6
1 files changed, 5 insertions, 1 deletions
diff --git a/vim/.vimrc b/vim/.vimrc
index b1af11e..b4e5cea 100644
--- a/vim/.vimrc
+++ b/vim/.vimrc
@@ -558,9 +558,10 @@ nnoremap ,e :e **/*<C-z><S-Tab>
let $FZF_DEFAULT_OPTS='--layout=reverse'
let g:fzf_layout = { 'window': 'call FloatingFZF()' }
+hi Pmenu ctermfg=3 ctermbg=239
function! FloatingFZF()
let buf = nvim_create_buf(v:false, v:true)
- call setbufvar(buf, '&signcolumn', 'no')
+ call setbufvar(buf, '&laststatus', '1')
let height = &lines - 10
let width = float2nr(&columns - (&columns * 2 / 10))
@@ -577,6 +578,9 @@ function! FloatingFZF()
call nvim_open_win(buf, v:true, opts)
endfunction
+" hi Pmenu ctermfg=3 ctermbg=239
+" let g:remembrall_window = 'call FloatingFZF()'
+
" if !exists('g:lsp_config_sourced')
" call lsp#add_filetype_config({
" \ 'filetype': 'python',