preservim / vim-indent-guides

A Vim plugin for visually displaying indent levels in code
MIT License
2.63k stars 166 forks source link

Plugin disrupts normal X clipboard usage #70

Closed staticshock closed 10 years ago

staticshock commented 10 years ago

I haven't narrowed it down to a small problem file, but "+yy (and any other operation that interacts with the X CLIPBOARD) and Bisectly blaims this plugin for messing with the clipboard.

The behavior I'm seeing is that if I try to paste from the X CLIPBOARD into some other GUI application, the contents of the "+ register is only available the first time. On subsequent pastes, it is empty. Disabling this plugin fixes the issue.

staticshock commented 10 years ago

Okay, looks like this happens on most files. I can reproduce the issue in a file called test.sh, with the only content being X=6.

staticshock commented 10 years ago

Not sure if this was ever valid. I later saw the same issue with vim-gitgutter, and had better luck reproducing it, so maybe I misdiagnosed the source of the issue initially.