gabrielelana / vim-markdown

Markdown for Vim: a complete environment to create Markdown files with a syntax highlight that doesn't suck!
MIT License
741 stars 58 forks source link

Incredibly slow at end of large file (5000 lines) #60

Open naggie opened 7 years ago

naggie commented 7 years ago

I tried to profile it. https://stackoverflow.com/questions/12213597/how-to-see-which-plugins-are-making-vim-slow/12216578#12216578

Profiling results in an empty file. Not sure why. Reproduced on vim 7.3, 8.0 on my Mac (El Capitan).

Using motion keys at the end of the file in normal mode results in the cursor moving one position in about 5 seconds.

Otherwise I like this plugin:

Hund commented 5 years ago

I also experience poor performance with this addon even with smaller files and basic Markdown syntax.

It's a pity as I really like this addon. :)

naggie commented 5 years ago

I now use https://github.com/sheerun/vim-polyglot which is fast even with so many languages.

Hund commented 5 years ago

Wow, nice! I'll have a look at that. Thanks! :)