chrisbra / Colorizer

color hex codes and color names
547 stars 30 forks source link

:ColorHighlight! modifies undo history #17

Closed noscript closed 11 years ago

noscript commented 11 years ago

I didn't try to get too deep into details how the plugin works but I hope it is something possible to fix without rewriting everything.

This behavior becomes a total disaster if auto coloring is enabled, practically making undo unusable and doing buffer changes every second.

chrisbra commented 11 years ago

Hi Sergey!

On Fr, 31 Mai 2013, Sergey Vlasov wrote:

I didn't try to get too deep into details how the plugin works but I hope it is something possible to fix without rewriting everything.

This behavior becomes a total disaster then auto coloring is enabled, practically making undo unusable by making buffer changes every second.

That should be fixed by Vim patch 7.3.627, so make sure, you use a recent enough vim.

regards,

Christian

Ich bin frei, denn ich bin einer Wirklichkeit nicht ausgeliefert, ich kann sie gestalten. -- Paul Watzlawik

noscript commented 11 years ago

Indeed. That the bug isn't the case with recent Vim. Closing this...