mirror of
https://github.com/nvim-treesitter/nvim-treesitter.git
synced 2026-07-18 03:10:04 -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
|
;; General syntax
|
||||||
(ERROR) @error
|
(ERROR) @error
|
||||||
|
|
||||||
(generic_command) @function
|
(command_name) @function
|
||||||
(caption
|
(caption
|
||||||
command: _ @function)
|
command: _ @function)
|
||||||
|
|
||||||
|
|
@ -129,7 +129,6 @@
|
||||||
(author_declaration
|
(author_declaration
|
||||||
command: _ @namespace
|
command: _ @namespace
|
||||||
authors: (curly_group_author_list
|
authors: (curly_group_author_list
|
||||||
((command_name)? @function)
|
|
||||||
((author)+ @text.title)))
|
((author)+ @text.title)))
|
||||||
|
|
||||||
(chapter
|
(chapter
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue