mirror of
git://git.sv.gnu.org/emacs.git
synced 2025-12-06 06:20:55 -08:00
* lisp/progmodes/go-ts-mode.el (go-ts-mode--font-lock-settings): Handle multiple const_spec identifiers. * test/lisp/progmodes/go-ts-mode-resources/font-lock.go: Add test case.
11 lines
269 B
Go
11 lines
269 B
Go
for idx, val := range arr {}
|
|
// ^ font-lock-variable-name-face
|
|
// ^ font-lock-variable-name-face
|
|
for idx := 0; idx < n; idx++ {}
|
|
// ^ font-lock-variable-name-face
|
|
|
|
const (
|
|
zero, one = 0, 1
|
|
// ^ font-lock-constant-face
|
|
// ^ font-lock-constant-face
|
|
)
|