highlights(latex): only highlight command name, not whole command

This commit is contained in:
Stephan Seitz 2022-05-21 12:47:48 +02:00 committed by Christian Clason
parent 30b9ba1fef
commit d605120dcc

View file

@ -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