]> git.eshelyaron.com Git - emacs.git/commit
Fix go-ts-mode const_spec highlighting (Bug#76330)
authorRandy Taylor <dev@rjt.dev>
Sun, 16 Feb 2025 20:51:43 +0000 (15:51 -0500)
committerEshel Yaron <me@eshelyaron.com>
Tue, 4 Mar 2025 20:57:14 +0000 (21:57 +0100)
commitd4fd797661bbdc728f8a68fdab44282fd4dc7b5a
treefa20b5f1ea7a4b42bbe2536e33b93ec225b96e3b
parent9e2bf138cbe72147b7250082f050d5bddad230e2
Fix go-ts-mode const_spec highlighting (Bug#76330)

* 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.

(cherry picked from commit b531bbf73ef91aca0a699ffc89e6b93dc49d0151)
lisp/progmodes/go-ts-mode.el
test/lisp/progmodes/go-ts-mode-resources/font-lock.go