Skip to content

4.0.0

Latest
Compare
Choose a tag to compare
@bensadeh bensadeh released this 12 Oct 13:45
· 22 commits to main since this release

Overview

This release contains several new feature and breaking changes. From a user perspective, the most notable change is the
addition of a JSON highlighter. From a developer's perspective, the highlighting engine powering tailspin has been
decoupled and extracted into a separate library called manifold.

manifold will still be used internally by tailspin, but it will also be available as a standalone library for other
projects to use.

New features:

  • Added support for handling lines which are valid JSON. tailspin will recognize if the line is a valid JSON object
    and highlight it accordingly.
  • Added date and time highlighter for formats like DD/MM/YYYY

Breaking changes:

  • tailspin will now look for theme.toml instead of config.toml for the configuration file
  • Enabling and disabling highlight groups is now done from the command line instead of in the toml file
  • Removed the border from the style from the keyword styling. Instead, the border will be enabled implicitly by
    setting a background color for the keyword.
  • Removed date highlighting for formats like Aug 14 and Sun Dec 14 etc. (Can be re-enabled by adding a custom
    regex highlighter)
  • One highlighting group for both date and time