mirror of
https://github.com/nvim-treesitter/nvim-treesitter.git
synced 2026-07-02 19:46:58 -04:00
highlights(latex): only highlight command name, not whole command
This commit is contained in:
parent
30b9ba1fef
commit
d605120dcc
1 changed files with 1 additions and 2 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue