Skip to content

Optimisation and tests galore

Compare
Choose a tag to compare
@Olical Olical released this 20 May 21:40
· 34 commits to master since this release

Aside from actually adding a test suite (and hooking it into TravisCI!) I've made everything far more optimal and sane as well as hooked the <Enter> key preview up to the actual preview window features of Vim. You can see the four closed issues within the milestone.

Some more highlights...

  • Reads and writes are batched.
  • Lines in the EnMasse buffer are sorted and pruned for duplicates.
  • When pruning duplicates the echoed preview at the bottom will display both previews from the originally separate lines. So if you had two JSHint issues on one line, you'll now have one line with both hints joined at the bottom.
  • Hints that are too long (off the screen) are now truncated using Vim's built in nifty string truncation stuff. No multi-line echo stuff jumping around.

A disproportionate amount of effort went into this, I hope it's now rock solid and even more useful than ever. Enjoy!