mirror of
git://git.sv.gnu.org/emacs.git
synced 2025-12-15 10:30:25 -08:00
; 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)
This commit is contained in:
parent
9055dad65d
commit
c7bcda4ac5
1 changed files with 10 additions and 10 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue