Float window makes the terminal transparent
carloscoves opened this issue · comments
Problems summary
Float window makes the terminal transparent, even with winblend=0
Expected
Float window to be fully opaque
Environment Information
-
fzf-preview version (package.json): 2.0.9
-
OS: Ubuntu 20.04
-
Vim/Neovim version: 0.4.4
Provide a minimal init.vim
set nocompatible
call plug#begin('~/.local/share/nvim/plugged')
Plug 'morhetz/gruvbox'
Plug 'tpope/vim-surround'
Plug 'tpope/vim-repeat'
Plug 'tpope/vim-fugitive'
Plug 'tpope/vim-commentary'
Plug 'airblade/vim-gitgutter'
Plug 'vim-airline/vim-airline'
Plug 'vim-airline/vim-airline-themes'
Plug 'pangloss/vim-javascript'
Plug 'MaxMEllon/vim-jsx-pretty'
Plug 'escorponox/css.vim'
Plug 'jparise/vim-graphql'
Plug 'jxnblk/vim-mdx-js'
Plug 'HerringtonDarkholme/yats.vim'
Plug 'jiangmiao/auto-pairs'
Plug 'junegunn/fzf', { 'dir': '~/.fzf', 'do': './install --all' }
Plug 'scrooloose/nerdtree'
Plug 'neoclide/coc.nvim', {'branch': 'release'}
Plug 'wincent/ferret'
call plug#end()
call coc#add_extension('coc-json', 'coc-highlight', 'coc-tsserver', 'coc-eslint', 'coc-prettier', 'coc-yank', 'coc-lists', 'coc-calc', 'coc-styled-components', 'coc-webpack', 'coc-fzf-preview')
filetype plugin indent on
syntax on
"================color====================
if (has("termguicolors"))
set termguicolors
endif
" ============================== SETTINGS ==============================
" colorscheme
set background=dark
let g:gruvbox_italic=1
let g:gruvbox_contrast_dark='hard'
colorscheme gruvbox
let g:airline_theme='gruvbox'
let g:fzf_preview_filelist_command = 'rg --files --hidden --no-ignore --no-messages -g \!node_modules/ -g \!.git/'
let g:fzf_preview_command = 'bat --color=always --plain {-1}'
let g:fzf_preview_grep_cmd = 'rg --column --line-number --no-heading --ignore-case --color=always --glob "!yarn.lock" --glob "!package-lock.json"'
let g:fzf_preview_use_dev_icons = 1
let g:fzf_preview_fzf_color_option = 'fg:#ebdbb2,bg:#282828,hl:#fabd2f,fg+:#ebdbb2,bg+:#3c3836,hl+:#fabd2f,info:#83a598,prompt:#bdae93,spinner:#fabd2f,pointer:#83a598,marker:#fe8019,header:#665c54'
let $FZF_PREVIEW_PREVIEW_BAT_THEME = 'gruvbox'
set autoindent
set autoread
set backspace=indent,eol,start
set clipboard+=unnamedplus
set expandtab
set hidden
set hlsearch
set ignorecase
set incsearch
set laststatus=2
set linebreak
set listchars=tab:→\ ,eol:↲,nbsp:␣,trail:✗,space:·
set nobackup
set noswapfile
set noshowmode
set number
set relativenumber
set path+=src
set shiftwidth=2
set softtabstop=2
set tabstop=2
set splitright
set timeoutlen=2000
set ttimeoutlen=0
set wildmenu
set nolist
set updatetime=100
set shortmess+=c
" set cmdheight=2
set showtabline=2
set pumheight=10
set scl=yes
set backupcopy=yes
" reload changed file on focus, buffer enter
" helps if file was changed externally.
augroup ReloadGroup
autocmd!
autocmd! FocusGained,BufEnter * checktime
augroup END
Screenshot
I can see the window below, that doesn't happen on the rest of the terminal.
Dockerfile that reproduces the problem (if possible)
Refer to https://github.com/yuki-yano/fzf-preview.vim/blob/main/.github/issue_example/Dockerfile
Sorry for the late reply.
Hmm, this seems to be a problem with Neovim and the window manager, not with fzf-preview.
Can you try to change the settings there?