Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bad performance #7

Open
infertux opened this issue Oct 12, 2018 · 2 comments
Open

Bad performance #7

infertux opened this issue Oct 12, 2018 · 2 comments
Assignees

Comments

@infertux
Copy link

Cool project but unfortunately it makes my Vim very sluggish to the point I had to uninstall the plugin for now. There is a significant lag whenever I type and auto-completion is very slow (about 5 fps at a guess). I'm using Vim 8.1.374. Please let me know if you need help with debugging.

@chr4
Copy link
Owner

chr4 commented Oct 15, 2018

I can confirm this issue, I'm also experiencing this especially in bigger files. I've tried looking into this to increase performance, but unfortunately I'm not a vimscript crack, so help is welcome.

A suggestion would be to only evaluate the matching rules for marking ciphers upon save/ changing modes, etc.

@chr4 chr4 self-assigned this Oct 15, 2018
@infertux
Copy link
Author

I've never written any vimscript so I won't be of much help but one of the major features of Vim 8 was support for async jobs so perhaps you could leverage it.

http://vimhelp.appspot.com/version8.txt.html#new-8
http://vimhelp.appspot.com/channel.txt.html

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants