diff options
| author | Riley Bruins <ribru17@hotmail.com> | 2023-09-21 14:28:01 -0700 |
|---|---|---|
| committer | Christian Clason <c.clason@uni-graz.at> | 2023-11-11 10:14:43 +0100 |
| commit | 075a64addc33390028ea124a1046a43497f05cd1 (patch) | |
| tree | dfe9899f8e087e0059e72a878b5f616bb0952085 | |
| parent | Update parsers: bitbake, groovy, janet_simple, liquidsoap, markdown, markdown... (diff) | |
| download | nvim-treesitter-075a64addc33390028ea124a1046a43497f05cd1.tar nvim-treesitter-075a64addc33390028ea124a1046a43497f05cd1.tar.gz nvim-treesitter-075a64addc33390028ea124a1046a43497f05cd1.tar.bz2 nvim-treesitter-075a64addc33390028ea124a1046a43497f05cd1.tar.lz nvim-treesitter-075a64addc33390028ea124a1046a43497f05cd1.tar.xz nvim-treesitter-075a64addc33390028ea124a1046a43497f05cd1.tar.zst nvim-treesitter-075a64addc33390028ea124a1046a43497f05cd1.zip | |
feat: highlight regular latex text to maintain consistency with boldfaced and italic text
| -rw-r--r-- | queries/latex/highlights.scm | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/queries/latex/highlights.scm b/queries/latex/highlights.scm index d0283c2e7..10e02ed1b 100644 --- a/queries/latex/highlights.scm +++ b/queries/latex/highlights.scm @@ -184,6 +184,9 @@ (#eq? @_name "\\frametitle")) ;; Formatting +(text_mode + content: (curly_group (_) @text)) + ((generic_command command: (command_name) @_name arg: (curly_group (_) @text.emphasis)) |
