nvim-telescope / telescope-symbols.nvim

MIT License
193 stars 11 forks source link

Artifacts left on the screen while searching for symbol #12

Open msvitok77 opened 2 years ago

msvitok77 commented 2 years ago

Hello. I'm using this plugin for inserting emojis. The problem is that while searching for emojis the plugin seems to not refreshing screen correctly.

neovim version: 0.7.0 system: Ubuntu 20.04 terminal: both kitty and gnome-terminal telescope-symbols version: latest commit f7d7c84873c95c7bd5682783dd66f84170231704

image

configuration:

Plug 'nvim-telescope/telescope.nvim'
Plug 'nvim-telescope/telescope-symbols.nvim'

"emojis
inoremap <C-k><C-e> <C-o>:lua require('telescope.builtin').symbols{ sources = {'emoji'} }<CR>

local actions = require('telescope.actions')
require('telescope').setup {
    defaults = {
        prompt_prefix = ' >',
        color_devicons = true,

        file_previewer   = require('telescope.previewers').vim_buffer_cat.new,
        grep_previewer   = require('telescope.previewers').vim_buffer_vimgrep.new,
        qflist_previewer = require('telescope.previewers').vim_buffer_qflist.new,

        mappings = {
            i = {
                ["<C-q>"] = actions.send_to_qflist,
                ["<esc>"] = actions.close,
            },
        }
    }
}
msvitok77 commented 2 years ago

I also checked with the latest version of neovim 0.7.2 and the result is the same.