Closed thekaganugur closed 4 years ago
I'm using CoC, when I hover to get documentation via float window, the parentheses background color is weird as need in screenshots.
Proper background color for parentheses on the floating window.
call plug#begin('~/.nvim/plugged') Plug 'neoclide/coc.nvim', {'branch': 'release'} Plug 'sheerun/vim-polyglot' Plug 'mhartington/oceanic-next' call plug#end() set termguicolors colorscheme OceanicNext " Use K to show documentation in preview window. nnoremap <silent> K :call <SID>show_documentation()<CR> function! s:show_documentation() if (index(['vim','help'], &filetype) >= 0) execute 'h '.expand('<cword>') elseif (coc#rpc#ready()) call CocActionAsync('doHover') else execute '!' . &keywordprg . " " . expand('<cword>') endif endfunction
https://github.com/neoclide/coc.nvim/issues/1248 https://github.com/joshdick/onedark.vim/issues/197#issuecomment-574422967 https://github.com/scalameta/coc-metals/issues/309
I just merged a coc related PR, which I think fixes this? I don't use coc (since nvim has it's lsp built in). Can you pull the latest and test it out?
Yes, it is fixed sorry for the really late reply. :)
Problems summary
I'm using CoC, when I hover to get documentation via float window, the parentheses background color is weird as need in screenshots.
Expected
Proper background color for parentheses on the floating window.
Environment Information
Minimal vim rc
The reproduce ways from neovim
Screen shot
Related
https://github.com/neoclide/coc.nvim/issues/1248 https://github.com/joshdick/onedark.vim/issues/197#issuecomment-574422967 https://github.com/scalameta/coc-metals/issues/309