Commit graph

11 commits

Author SHA1 Message Date
Jendrik Stelzner
31fe7ee4f9 Add a missing LaTeX hightlight.
Add \eqref to the list of referencing commands.
2022-01-13 09:44:03 +01:00
Jendrik Stelzner
41a097d9c5 Add LaTeX highlights: addpart, addchap, addsec.
Add highlight for the LaTeX sectioning commands \addpart, \addchap, \addsec and their starred variants.
2022-01-12 00:41:26 +01:00
Ashish Panigrahi
aba5e9b4d5 feat: add comment highlighting in LaTeX 2021-07-01 10:33:16 +02:00
Stephan Seitz
b09e889e3d highlights(latex): highlight chapter*, section*, part* ...
Fixes #1454
2021-06-30 20:36:02 +02:00
Stephan Seitz
89d464744b highlights(latex): use any-of? 2021-05-17 20:36:33 +02:00
Stephan Seitz
d89d698c26 highlights(latex): add more math environments
Fix #1293
2021-05-17 20:36:33 +02:00
Stephan Seitz
bb2846fd9b highlights(latex): add more commands 2021-05-17 20:36:33 +02:00
Stephan Seitz
efbb1c66d2 highlights(latex): fix regexes with backslashes
https://github.com/neovim/neovim/pull/14382 requires to escape `\` is regexes if they are verbatim `\`

They change in Neovim was incompatible so people that are still behind that revision will have this regex not matching (but it should at least not error)
2021-05-12 01:12:24 +02:00
Stephan Seitz
712cc78a1e Add text.reference and text.environment 2021-03-30 19:26:37 +02:00
Stephan Seitz
0556edf5f3 latex: add TSMath that behaves like vimtex math highlighting 2021-03-30 19:26:37 +02:00
Stephan Seitz
ea8c3b2850 feat: Add Latex basic highlights and folds
Fix #1104
2021-03-30 19:26:37 +02:00