Skip to content

v2.16.2: Stop painting whole files in a single color

Latest

Choose a tag to compare

@walles walles released this 02 Aug 13:31

Before this release, a file that the syntax highlighter saw as one
single token -- a file holding nothing but a number, for example --
came out with every character in the same color.

With this release, highlighting that would look uniform is skipped and
the text is shown plain. Thanks @knirch for reporting #445!

Also in this release:

  • On Windows, arrow and function keys now work immediately after
    returning from an editor opened with "v", instead of being ignored for
    up to a tenth of a second
  • Faster .zst decompression on arm64 (Apple Silicon), and corrupt .zst
    input now reports an error rather than decoding to garbage
  • Compressed files and streams are now properly closed, so moor no
    longer leaks file descriptors or goroutines while reading them
  • Fixed a hang and a data race when a zstd stream was closed while still
    being read
  • Fixed a hang on shutdown when moor was closed programmatically through
    pkg/moor