mirror of
https://github.com/nvim-treesitter/nvim-treesitter.git
synced 2026-07-03 03:56:52 -04:00
Add LaTeX highlights: addpart, addchap, addsec.
Add highlight for the LaTeX sectioning commands \addpart, \addchap, \addsec and their starred variants.
This commit is contained in:
parent
4e5afc6bb8
commit
41a097d9c5
1 changed files with 8 additions and 0 deletions
|
|
@ -289,6 +289,10 @@
|
|||
"\\paragraph"
|
||||
"\\subparagraph"
|
||||
|
||||
"\\addpart"
|
||||
"\\addchap"
|
||||
"\\addsec"
|
||||
|
||||
"\\part*"
|
||||
"\\chapter*"
|
||||
"\\section*"
|
||||
|
|
@ -296,6 +300,10 @@
|
|||
"\\subsubsection*"
|
||||
"\\paragraph*"
|
||||
"\\subparagraph*"
|
||||
|
||||
"\\addpart*"
|
||||
"\\addchap*"
|
||||
"\\addsec*"
|
||||
] @type
|
||||
|
||||
"\\item" @punctuation.special
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue