mirror of
https://github.com/nvim-treesitter/nvim-treesitter.git
synced 2026-07-18 03:10:04 -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"
|
"\\paragraph"
|
||||||
"\\subparagraph"
|
"\\subparagraph"
|
||||||
|
|
||||||
|
"\\addpart"
|
||||||
|
"\\addchap"
|
||||||
|
"\\addsec"
|
||||||
|
|
||||||
"\\part*"
|
"\\part*"
|
||||||
"\\chapter*"
|
"\\chapter*"
|
||||||
"\\section*"
|
"\\section*"
|
||||||
|
|
@ -296,6 +300,10 @@
|
||||||
"\\subsubsection*"
|
"\\subsubsection*"
|
||||||
"\\paragraph*"
|
"\\paragraph*"
|
||||||
"\\subparagraph*"
|
"\\subparagraph*"
|
||||||
|
|
||||||
|
"\\addpart*"
|
||||||
|
"\\addchap*"
|
||||||
|
"\\addsec*"
|
||||||
] @type
|
] @type
|
||||||
|
|
||||||
"\\item" @punctuation.special
|
"\\item" @punctuation.special
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue