- handled distinction between
line_comment
s andblock_comment
s - handled support for E notation in
float
s - handled known escape sequences in
strings
withescape_sequence
token - added optional trailing semicolon to
include_statement
anduse_statement
node captures - added
var_declaration
node to supportassignment
s that end in a semicolon:x = true;
- added
echo_expression
handling for cases where an echo statement is included in an echo expression:x = echo("foo") true;
- added
let_prefix
node to support let expressions in list comprehension contexts - removed
modifier_chain
node parameters_declaration
->parameters
module_declaration
->module_item
- extended support for highlight captures in
module_item
andmodule_call
as@function.method
- improved support for
modifier
highlighting with@keyword.modifier
tag - added highlighting for string escape sequences as
@string.escape
- added
@variable.parameter
highlighting dot_index_expression
property now uses the@variable.member
tag
- added
justfile
for task running - added
eslint-config-treesitter
for formattinggrammar.js
- added support for tree-sitter 0.24.7
- added support for nix flakes
Bugfixes:
- allow trailing commas in module and function invocations (8af3261)
Features / Behavior Changes:
- different float and decimal (integer) nodes, now under supertype number
- expressions now have a public supertype node, called expression
- literals now have a public supertype node, called literal
- special variables (e.g. $preview) now use an inner identifier node to store their name
- function parameters now have their own node type to support certain syntax highlighting patterns
Bugfixes:
- stopped accepting backslash line continuations