asciidoc-vim
asciidoc-vim copied to clipboard
Extremely slow if used for non-asciidoc files
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
I've also created a thread on the asciidoc mailing list.
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).
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.