-
-
Notifications
You must be signed in to change notification settings - Fork 223
Closed
Labels
Description
Describe the bug
I have Svelte for VSCode extension installed, 'Fira Code', monospace set as the Font Family and Bracket Pair Colorization enabled in VSCode settings. When VSCode updated the last time to 1.70.1 few days ago, the bug showed up. In all of my svelte files in the script tag with lang set to "ts" arrow function syntax highlighting is kind of broken: the first symbol of the arrow (=) is colorized while the second (>) is not
Reproduction
- Set Font Family to
'Fira Code', monospace - Enable
Bracket Pair Colorization - Enable ligatures
- Create a svelte file
- Add the following code to the file:
<script lang="ts">
const a = (id: number) => id + 2
</script>Expected behaviour
I expect the whole arrow to be the same color as it was before the recent VSCode update
System Info
- OS: macOS arm64 21.4.0
- IDE: VSCode 1.70.1
Which package is the issue about?
Svelte for VS Code extension
