mirror of
https://github.com/nvim-treesitter/nvim-treesitter.git
synced 2026-07-17 19:00:02 -04:00
feat: highlight regular latex text to maintain consistency with boldfaced and italic text
This commit is contained in:
parent
42053b9db3
commit
075a64addc
1 changed files with 3 additions and 0 deletions
|
|
@ -184,6 +184,9 @@
|
||||||
(#eq? @_name "\\frametitle"))
|
(#eq? @_name "\\frametitle"))
|
||||||
|
|
||||||
;; Formatting
|
;; Formatting
|
||||||
|
(text_mode
|
||||||
|
content: (curly_group (_) @text))
|
||||||
|
|
||||||
((generic_command
|
((generic_command
|
||||||
command: (command_name) @_name
|
command: (command_name) @_name
|
||||||
arg: (curly_group (_) @text.emphasis))
|
arg: (curly_group (_) @text.emphasis))
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue