Describe the bug
Example of wrong highlighting (bottom 3 lines)
Most subsequent code would be highlighted in yellow as if it was all a string.
The set of conditions required for this is (images contain (mostly) correct highlighting when the corresponding condition is removed):
3+ fields in an object argument
Generic use in the return type (highlight still questionable without it)
Template string use (highlight still questionable without it)
No commas in the types for the object fields (main issue?)
Version & OS
OS: Linux Mint 20
Desktop: 2.5.7-linux1
Files
Code in screenshots
Describe the bug
Example of wrong highlighting (bottom 3 lines)
Most subsequent code would be highlighted in yellow as if it was all a string.
The set of conditions required for this is (images contain (mostly) correct highlighting when the corresponding condition is removed):
3+ fields in an object argument
Generic use in the return type (highlight still questionable without it)
Template string use (highlight still questionable without it)
No commas in the types for the object fields (main issue?)
Version & OS
OS: Linux Mint 20
Desktop: 2.5.7-linux1
Files
Code in screenshots