diff options
| author | Stephan Seitz <stephan.seitz@fau.de> | 2022-05-21 12:47:48 +0200 |
|---|---|---|
| committer | Christian Clason <christian.clason@uni-due.de> | 2022-05-21 13:13:59 +0200 |
| commit | d605120dccde9e2c96af57c94e0997bc559ebb04 (patch) | |
| tree | cf72e1392d251c5c8f25424c86cdc171bc5dc5fa /queries | |
| parent | 30b9ba1fef467707b0486bcb1e0e6f655c7b3226 (diff) | |
highlights(latex): only highlight command name, not whole command
Diffstat (limited to 'queries')
| -rw-r--r-- | queries/latex/highlights.scm | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/queries/latex/highlights.scm b/queries/latex/highlights.scm index 92e24250..74edcafa 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 |
