mirror of
https://github.com/masscollaborationlabs/emacs.git
synced 2025-07-15 00:11:19 +00: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
|