Yggdroot / indentLine

A vim plugin to display the indention levels with thin vertical lines
MIT License
4.13k stars 227 forks source link

cursorcolumn decreases performance heavily #359

Closed KoalaV2 closed 3 years ago

KoalaV2 commented 3 years ago

Incredibly poor performance, on simple vim files to big projects when running the latest neovim NVIM v0.5.0

With the plugin enabled: https://imgur.com/W1Ge9w3

With the plugin disabled: https://imgur.com/XvCkAHx

Now there's a huge improvement in not only cursor speed but general vim speed like auto completion etc, which I don't see how it's related but it for some reason is.

Now the file in the video is only a example but disabling the plugin improves speed on every file I've opened so far. Please do let me know if there is any fix for this, I would love to keep using this plugin.

KoalaV2 commented 3 years ago

Turns out that if i disable "cursorcolumn" in the vim settings aka set cursorculumn it works perfectly, although if i enable it performance decreases.