Skip to content

Version 0.3.0

Compare
Choose a tag to compare
@charlespascoe charlespascoe released this 18 Jan 18:15
· 18 commits to main since this release

Added

  • Add support for highlighting typeless structs in map literals

Fixed

  • Fix map literal brace highlighting, including issues with variable names as keys being highlighted as labels
  • Fixing error message when there's an empty import string
  • Fix clash with vim-go's Godoc syntax
  • Fixed slice type conversion, e.g. []byte("foo")
    • This was caused by trying to improve support for slice literals of functions in 0.2.1. It's not possible to reconcile these two things, and so type conversion was preferred and a caveat for the function highlighting was added to the readme.
  • Fix \\ in rune literal
  • Fix matching certain syntax elements not matching at all outside of functions
  • Fix type highlighting after type parameters in type definitions