mirror of
https://github.com/nvim-treesitter/nvim-treesitter.git
synced 2026-07-01 19:17:02 -04:00
feat(latex): simplify captures of font changing
Signed-off-by: Jonas Dujava <jonas.dujava@gmail.com>
This commit is contained in:
parent
733fa85db2
commit
002537a3e3
1 changed files with 1 additions and 7 deletions
|
|
@ -239,13 +239,7 @@
|
|||
command: (command_name) @_name
|
||||
arg: (curly_group
|
||||
(_) @markup.italic))
|
||||
(#eq? @_name "\\emph"))
|
||||
|
||||
((generic_command
|
||||
command: (command_name) @_name
|
||||
arg: (curly_group
|
||||
(_) @markup.italic))
|
||||
(#any-of? @_name "\\textit" "\\mathit"))
|
||||
(#any-of? @_name "\\emph" "\\textit" "\\mathit"))
|
||||
|
||||
((generic_command
|
||||
command: (command_name) @_name
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue