emacs-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

feature/tree-sitter abf40a41aa 6/8: ; Fix typo in c-ts-mode--font-lock-s


From: Yuan Fu
Subject: feature/tree-sitter abf40a41aa 6/8: ; Fix typo in c-ts-mode--font-lock-settings
Date: Mon, 21 Nov 2022 16:38:50 -0500 (EST)

branch: feature/tree-sitter
commit abf40a41aaa71354eee50bedc04fe2123dd3836f
Author: Yuan Fu <casouri@gmail.com>
Commit: Yuan Fu <casouri@gmail.com>

    ; Fix typo in c-ts-mode--font-lock-settings
    
    * lisp/progmodes/c-ts-mode.el (c-ts-mode--font-lock-settings): Fix
    typo.
---
 lisp/progmodes/c-ts-mode.el | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/lisp/progmodes/c-ts-mode.el b/lisp/progmodes/c-ts-mode.el
index 65419cca7d..6eaf200182 100644
--- a/lisp/progmodes/c-ts-mode.el
+++ b/lisp/progmodes/c-ts-mode.el
@@ -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



reply via email to

[Prev in Thread] Current Thread [Next in Thread]