I'm not sure if it's related, but I have noticed vim getting really slow
when editing asciidoc files sometimes.  I have a (fairly unscientific)
feeling that it's worse when the file has long lines, ie not wrapped with
line breaks at 80 chars..


On 6 July 2013 02:10, Ben Boeckel <[email protected]> wrote:

> Hi,
>
> I'm seeing that the Vim syntax highlighting is *really* slow if the file
> is not asciidoc. It's not snappy if it is, but it is workable. However,
> when it is turned on for a non-asciidoc file, it fails spectacularly.
>
> I've filed a bug against the syntax file repo on github as well[1]. It
> is better, but still not great. An example file[2] takes 53 seconds to
> load (time vim file.txt<Enter>:q<Enter>) with the version shipped in
> asciidoc-8.6.8. The most recent version in the github repo takes about
> 22 seconds. I haven't noticed slowdowns with other syntax files.
>
> I'm using Vim 7.3 patch 1109 from Fedora.
>
> Has anyone else noticed this? It'd likely be best to try and improve the
> ftdetect/asciidoc.vim detection to be more strict about its detection.
>
> Thanks,
>
> --Ben
>
> [1]https://github.com/dagwieers/asciidoc-vim/issues/2
> [2]https://bugzilla.redhat.com/attachment.cgi?id=769071
>
> --
> You received this message because you are subscribed to the Google Groups
> "asciidoc" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to [email protected].
> To post to this group, send email to [email protected].
> Visit this group at http://groups.google.com/group/asciidoc.
> For more options, visit https://groups.google.com/groups/opt_out.
>
>
>


-- 
------------------------------
Harry J.W. Percival
------------------------------
Twitter: @hjwp
Mobile:  +44 (0) 78877 02511
Skype:         harry.percival

-- 
You received this message because you are subscribed to the Google Groups 
"asciidoc" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/asciidoc.
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to