vim-raku icon indicating copy to clipboard operation
vim-raku copied to clipboard

Minus in comment causes incredibly slow highlighting

Open zostay opened this issue 5 years ago • 2 comments

Migration of issue https://github.com/vim-perl/vim-perl6/issues/21 by @timo

Description of issue

Files with comments that have many - in them are extremely slow, often aborting highlighting for the entire file.

Start a line with just # and maybe a space, then type - and see syntax highlighting get slower and slower, and eventually die completely.

zostay avatar Jan 02 '20 21:01 zostay

I am not able to reproduce this problem on vim 8.0 on my machine.

zostay avatar Jan 02 '20 23:01 zostay

Not able to reproduce this either, Neovim v0.4.3.

sarna avatar Jan 03 '20 11:01 sarna