mirror of
git://git.sv.gnu.org/emacs.git
synced 2025-12-15 02:20:21 -08:00
* lisp/progmodes/go-ts-mode.el (go-ts-mode--font-lock-settings): Add font-locking rule for variable names in range clauses. * test/lisp/progmodes/go-ts-mode-tests.el (go-ts-test-font-lock): Add font-locking test for go-ts-mode. * test/lisp/progmodes/go-ts-mode-resources/font-lock.go: New file for go-ts-mode font-locking tests.
5 lines
174 B
Go
5 lines
174 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
|