A good example is:
Os Name: Ubuntu 20.04.6 LTS
Gnome Version: 3.36.8
Expected behavior
In item attributes, syntax highlighting highlights strings correctly.
Actual behavior
In item attributes, if there's a macro call and then a string containing brackets, the string isn't highlighted as such and the rest of the code is highlighted as a string. Removing the macro call resolves everything and removing the brackets makes the rest of the code highlight normally (except the string in the attribute, which is not a big deal for me)
Steps to reproduce
Write the following function in your code, and look it in sublime text:
Sublime Text Version
Sublime Text 4 (Build 4143)
Rust Enhanced Version
v2.25
Operating system
A good example is: Os Name: Ubuntu 20.04.6 LTS Gnome Version: 3.36.8
Expected behavior
In item attributes, syntax highlighting highlights strings correctly.
Actual behavior
In item attributes, if there's a macro call and then a string containing brackets, the string isn't highlighted as such and the rest of the code is highlighted as a string. Removing the macro call resolves everything and removing the brackets makes the rest of the code highlight normally (except the string in the attribute, which is not a big deal for me)
Steps to reproduce
Write the following function in your code, and look it in sublime text:
This occurred while using the crate
contracts
.