sslsecure.vim
sslsecure.vim copied to clipboard
Bad performance
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.
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.
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