vscode icon indicating copy to clipboard operation
vscode copied to clipboard

Javascript colorization defining multiple var

Open vsccarl opened this issue 10 years ago • 1 comments

When defining multiple var in JavaScript the colorization is not working properly after the first defined variable if they are on separate lines.

varcolor var wm1 = new WeakMap(), wm2 = new WeakMap(), wm3 = new WeakMap();

On the same line they are correctly colorized varcolorworking

Expected: wm2 and wm3 should be the same color as wm1 regardless of the line they are on.

Version 0.10.12-alpha Commit e8d5a7932b99f6b7559d48536bfc84732bfc8582 Date 2016-03-09T09:53:18.387Z Shell 0.35.6 Renderer 45.0.2454.85 Node 4.1.1

vsccarl avatar Mar 10 '16 01:03 vsccarl

This issue was moved to Microsoft/TypeScript-TmLanguage#121

aeschli avatar Mar 10 '16 09:03 aeschli