aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--queries/latex/highlights.scm3
1 files changed, 1 insertions, 2 deletions
diff --git a/queries/latex/highlights.scm b/queries/latex/highlights.scm
index 92e242508..74edcafad 100644
--- a/queries/latex/highlights.scm
+++ b/queries/latex/highlights.scm
@@ -1,7 +1,7 @@
;; General syntax
(ERROR) @error
-(generic_command) @function
+(command_name) @function
(caption
command: _ @function)
@@ -129,7 +129,6 @@
(author_declaration
command: _ @namespace
authors: (curly_group_author_list
- ((command_name)? @function)
((author)+ @text.title)))
(chapter