With tmLanguage-based syntax highlighting, it's probably impossible to cover all edge cases here, but it might be worth investigating if the situation can still be improved.
Basics are already covered quite well, the following works:
{f:uri.image(
cropVariant: '{sourceConfig.cropVariant ? sourceConfig.cropVariant : \'default\'}',
})
But more complex use cases don't work, as documented in https://github.com/FriendsOfTYPO3/vscode-fluid-language/tree/bugfix/inlineHighlightingEscape.
With tmLanguage-based syntax highlighting, it's probably impossible to cover all edge cases here, but it might be worth investigating if the situation can still be improved.
Basics are already covered quite well, the following works:
{f:uri.image( cropVariant: '{sourceConfig.cropVariant ? sourceConfig.cropVariant : \'default\'}', })But more complex use cases don't work, as documented in https://github.com/FriendsOfTYPO3/vscode-fluid-language/tree/bugfix/inlineHighlightingEscape.