vim-pandoc / vim-pandoc-syntax

pandoc markdown syntax, to be installed alongside vim-pandoc
MIT License
424 stars 61 forks source link

Syntax highlighter is too slow #296

Open alerque opened 5 years ago

alerque commented 5 years ago

This highlighter is too slow. Enabling it adds more that 5 seconds to open time for some of my Markdown files (e.g. 547K) over the builtin Markdown syntax.

Note I've reviewed e43c591ff628c9ad4887784d7a6458feb083df6f and reverted that change, and there is no measurable difference.

Related: #172

cutefish commented 3 months ago

I have one large markdown file such that not only opening is slow, editing is painfully laggy. Is there a way to disable this plugin when I am editing on certain files?

alerque commented 3 months ago
:set ft=plain

(or markdown or something else you have a file type for you want to use other than pandoc).