]> git.eshelyaron.com Git - emacs.git/commitdiff
; Fix typo in c-ts-mode--font-lock-settings
authorYuan Fu <casouri@gmail.com>
Mon, 21 Nov 2022 21:17:16 +0000 (13:17 -0800)
committerYuan Fu <casouri@gmail.com>
Mon, 21 Nov 2022 21:17:16 +0000 (13:17 -0800)
* lisp/progmodes/c-ts-mode.el (c-ts-mode--font-lock-settings): Fix
typo.

lisp/progmodes/c-ts-mode.el

index 65419cca7d42a8fb09d0dc22da80ca02012aab72..6eaf200182d32bfea63d1bc834fa99120a532d72 100644 (file)
@@ -272,14 +272,14 @@ MODE is either `c' or `cpp'."
       declarator: (_) @font-lock-variable-name-face)
 
      (field_declaration
-      declarator: (_) @c-ts-mode--fontify-struct-declarator)
+      declarator: (_) @c-ts-mode--fontify-declarator)
 
      (function_definition
-      declarator: (_) @c-ts-mode--fontify-struct-declarator))
+      declarator: (_) @c-ts-mode--fontify-declarator))
 
    ;; Should we highlight identifiers in the parameter list?
    ;; (parameter_declaration
-   ;;  declarator: (_) @c-ts-mode--fontify-struct-declarator))
+   ;;  declarator: (_) @c-ts-mode--fontify-declarator))
 
    :language mode
    :feature 'assignment