nerdtree icon indicating copy to clipboard operation
nerdtree copied to clipboard

Display of nerdtree broken. When deleting lines, artifact appears in the nerdtree windows.

Open Rz-Rz opened this issue 2 years ago • 0 comments

Environment

  • Operating System: Ubuntu 20.04
  • Vim/Neovim version 0.7.2
  • NERDTree version, found on first line of quickhelp ?: 6.10.16
  • Are you using any of these NERDTree-dependent plugins? No nerdtree dependent plugin.
  • Provide a minimal .vimrc file that will reproduce the issue.
call plug#begin()
Plug 'nvim-lua/plenary.nvim'
Plug 'nvim-lua/popup.nvim'
Plug 'nvim-telescope/telescope.nvim', { 'tag': '0.1.0' }
Plug 'preservim/nerdtree'
call plug#end()
" Telescope config
" Find files using Telescope command-line sugar.
nnoremap <silent>;f <cmd>Telescope find_files<cr>
nnoremap <silent>;g <cmd>Telescope live_grep<cr>
nnoremap <silent>;b <cmd>Telescope buffers<cr>
nnoremap <silent>;h <cmd>Telescope help_tags<cr>
" Nerdtree
nnoremap <leader>n :NERDTreeFocus<CR>
nnoremap <C-n> :NERDTree<CR>
nnoremap <C-t> :NERDTreeToggle<CR>
nnoremap <C-f> :NERDTreeFind<CR>

Steps to Reproduce the Issue

Open a nerdtree windows within a js file. Delete a few lines, they will glitch and appear stuck to the nerdtree side.

Current Behavior (Include screenshots where appropriate.)

image

Expected Result

There should be not artifact within the nerdtree windows.

Rz-Rz avatar Aug 11 '22 13:08 Rz-Rz