Skip to content

v0.4.0.0

Compare
Choose a tag to compare
@github-actions github-actions released this 08 May 14:28
9a5c99b

This release features a complete rewrite of the parser and lexer within the plugin.

Added

  • Support for the full syntax of Nix 2.3

Changed

  • Error detection and recovery has been overhauled.

  • The following words are no longer treated as keywords to make the
    implementation consistent with Nix 2.3:

    • import
    • imports
    • require
    • requires
    • true
    • false

    As a result, these words are no longer highlighted. We might bring
    back the special highlighting in a future release by using a different
    implementation for the highlighter.

  • Messages for syntax errors no longer contain the “NixTokenType.”
    prefix for every expected token. This should make the messages much
    easier to read.

Fixed

  • Various parsing errors (including but not limited to #8 and #13)
  • Incorrect reset of parser state when modifying a file