Vim Plugin Performance

TL;DR Upgrade your Vim WakaTime plugin for a huge performance improvement!

Vim 8 recently added support for async jobs. This is great news for all Vim plugins! Previously, background processes would block Vim until the process finished forking, which usually caused noticeable lag. With async jobs, we can fork background processes without affecting the UI. This makes Vim much snappier with plugins like WakaTime!

To take advantage of this update, first make sure you’re using Vim 8 or Neovim, then run this command to update your WakaTime plugin:

vim +PluginUpdate

P.S. Here’s the commit to see how this update looks in the plugin source code.

Tags in this article: