GNU bug report logs - #66511
JavaScript Mode: wrong face for variable declaration

Previous Next

Package: emacs;

Reported by: Shynur Xie <one.last.kiss <at> outlook.com>

Date: Fri, 13 Oct 2023 05:23:01 UTC

Severity: normal

Full log


View this message in rfc822 format

From: Shynur Xie <one.last.kiss <at> outlook.com>
To: 66511 <at> debbugs.gnu.org
Subject: bug#66511: JavaScript Mode: wrong face for variable declaration
Date: Fri, 13 Oct 2023 05:16:50 +0000
Reproduce:

1. $ emacs -Q
2. M-x js-mode
3. Insert "var a, b;"
                  ^ correct face
4. Add a newline between ',' and 'b'

Now the buffer content is:

    var a,
        b;

the face of 'b' is wrong.

Emacs-v29.1 on MS-Windows



This bug report was last modified 1 year and 246 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.