fix @rust functions

This commit is contained in:
Daniella / Tove 2023-08-04 22:15:15 +02:00
parent e86c3b7033
commit adb5507a50
Signed by: TudbuT
GPG key ID: 7D63D5634B7C417F

View file

@ -33,7 +33,7 @@ module.exports = grammar({
$.block, $.block,
), ),
block: $ => seq( block: $ => seq(
'{', optional($._spacing, repeat(seq(/[^ \n\r\t|]+/, $._spacing)), '|'), optional('!'), '{', optional($._spacing, repeat(seq(/[^ \n\r\t|]+/, $._spacing)), '|'),
repeat($._statement), repeat($._statement),
'}', '}',
), ),