[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
master c7bcda4ac54 2/2: ; Minor change in last commit
From: |
Eli Zaretskii |
Subject: |
master c7bcda4ac54 2/2: ; Minor change in last commit |
Date: |
Thu, 18 Apr 2024 06:31:00 -0400 (EDT) |
branch: master
commit c7bcda4ac54f31ae2724cdc3b3c884c37b667b22
Author: Eli Zaretskii <eliz@gnu.org>
Commit: Eli Zaretskii <eliz@gnu.org>
; Minor change in last commit
* lisp/progmodes/go-ts-mode.el (go-ts-mode--font-lock-settings):
Rearrange features to keep alphabetical order. (Bug#70362)
---
lisp/progmodes/go-ts-mode.el | 20 ++++++++++----------
1 file changed, 10 insertions(+), 10 deletions(-)
diff --git a/lisp/progmodes/go-ts-mode.el b/lisp/progmodes/go-ts-mode.el
index 83e15301854..f2b586dfb43 100644
--- a/lisp/progmodes/go-ts-mode.el
+++ b/lisp/progmodes/go-ts-mode.el
@@ -135,6 +135,16 @@
:feature 'comment
'((comment) @font-lock-comment-face)
+ :language 'go
+ :feature 'builtin
+ `((call_expression
+ function: ((identifier) @font-lock-builtin-face
+ (:match ,(rx-to-string
+ `(seq bol
+ (or ,@go-ts-mode--builtin-functions)
+ eol))
+ @font-lock-builtin-face))))
+
:language 'go
:feature 'constant
`([(false) (nil) (true)] @font-lock-constant-face
@@ -172,16 +182,6 @@
(var_spec name: (identifier) @font-lock-variable-name-face
("," name: (identifier) @font-lock-variable-name-face)*))
- :language 'go
- :feature 'builtin
- `((call_expression
- function: ((identifier) @font-lock-builtin-face
- (:match ,(rx-to-string
- `(seq bol
- (or ,@go-ts-mode--builtin-functions)
- eol))
- @font-lock-builtin-face))))
-
:language 'go
:feature 'function
'((call_expression