Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Rendering glitches in Neovim #33

Closed
cideM opened this issue Jul 27, 2020 · 6 comments
Closed

Rendering glitches in Neovim #33

cideM opened this issue Jul 27, 2020 · 6 comments

Comments

@cideM
Copy link

cideM commented Jul 27, 2020

I always found it strange that no one else had created an issue so I can only assume that I'm the only one plagued by this. But I have very strange rendering glitches where e.g., a single line is suddenly repeated for each line I scroll downwards.

Screen Shot 2020-07-27 at 17 12 07

I've had this for as long as I can remember. I'm on Neovim

NVIM v0.5.0-dev
Build type: Release
LuaJIT 2.1.0-beta3
Compilation:
Compiled by nixbld1

Features: +acl +iconv +tui
See ":help feature-compile"

   system vimrc file: "$VIM/sysinit.vim"
  fall-back for $VIM: "
/nix/store/vglb2f345siggaxdai8ghlnjx4y428an-neovim-unwrapped-master/share/nvim
"

Run :checkhealth for more info

and here are my settings

set shell=bash
" https://www.reddit.com/r/vim/comments/25g1sp/why_doesnt_vim_syntax_like_my_shell_files/
let g:is_posix = 1

set wildignore+=*/.git/*,
            \tags,
            \*/node_modules/*,
            \*/build/*,
            \*/dist/*,
            \*/compiled/*,
            \*/tmp/*
set cmdheight=2
set diffopt=algorithm:patience,filler,iwhiteall,indent-heuristic
set expandtab
set fillchars=stl:\ ,vert:\|,fold:\ 
set grepprg=rg\ --vimgrep\ --no-heading\ --smart-case
set hidden
set ignorecase
set noshowmode
set updatetime=100
set list
set listchars=tab:»\ ,extends:›,precedes:‹,nbsp:·,trail:·
set inccommand=split
set nocursorline
set nonumber
set path-=/usr/include
set shiftwidth=4
set shortmess+=c
set smartcase
set splitbelow
set splitright
set completeopt-=preview
set termguicolors
set undofile

" Automatically resize windows if host window changes (e.g., creating a tmux
" split)
augroup Resize
    autocmd!
    autocmd VimResized * wincmd =
augroup END
" }}}
@lifepillar
Copy link
Owner

Can you provide a step-by-step way to reproduce it? I have tried to run nvim -u your_settings.vim, then added Colortemplate to runtimepath and opened some templates, but I don't see anything wrong when scrolling or performing other actions.

Even before that, have you tried with a different terminal, to rule out that it's a terminal-related issue?

@beardedsakimonkey
Copy link

I've experienced this as well, but I think it might be specific to neovim 0.5. For me, setting let g:colortemplate_toolbar = 0 fixes this.

@lifepillar
Copy link
Owner

That's strange. AFAIK, Neovim does not support window toolbars, so that setting should not have any effect, because toolbars are not enabled anyway.

@lifepillar
Copy link
Owner

I am using Neovim 0.4.3: perhaps, toolbars were added in v0.5? If that is the case, the OP's issue is likely a Neovim issue.

@cideM
Copy link
Author

cideM commented Jul 28, 2020

Indeed, the issue is not present in Neovim 0.4.3! I'll create an issue on the Neovim tracker then

neovim/neovim#12689

@andymass
Copy link

It's unfortunate that this is not supported in neovim. I think toolbars are a great feature well-used by vim-colortemplate.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants