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

Extremely slow if used for non-asciidoc files

Open mathstuf opened this issue 12 years ago • 3 comments

When loading up some innocent .txt files, asciidoc's syntax sometimes steps in and makes everything really slow. This version here is better than the one shipped with asciidoc (38s to load), but is still laggy (11s to load). An example file which shows this behavior is https://bugzilla.redhat.com/attachment.cgi?id=769071.

vim-enhanced-7.3.1109 asciidoc-8.6.8

mathstuf avatar Jul 06 '13 01:07 mathstuf

I've also created a thread on the asciidoc mailing list.

mathstuf avatar Jul 06 '13 01:07 mathstuf

Wow, that really does crawl with the example file! Try disabling the cursor line if it is on (:set nocul). There is a known Vim issue that the cursor line will slow down screen redrawing (even states so in the help docs, check :h cul).

jeffrimko avatar Nov 06 '13 02:11 jeffrimko

I don't have cursorline on. It also isn't the drawing since it takes long to just handle the ":q". I think it is related to long lines.

mathstuf avatar Nov 06 '13 03:11 mathstuf