Add flalign to default math environments

See #884.
This commit is contained in:
Patrick Förster 2023-05-01 10:06:16 +02:00
parent 03dac41136
commit 6e4968aa14
2 changed files with 11 additions and 8 deletions

View file

@ -12,6 +12,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
- Fix spurious completion results when completing environments ([#883](https://github.com/latex-lsp/texlab/issues/883))
- Fix regression when guessing cursor position after formatting ([#880](https://github.com/latex-lsp/texlab/issues/880))
- Fix parsing `\verb` command ([#828](https://github.com/latex-lsp/texlab/issues/828))
- Add `flalign` and `flalign*` to default list of math environments ([#884](https://github.com/latex-lsp/texlab/issues/884))
## [5.5.0] - 2023-04-16

View file

@ -50,10 +50,10 @@ static DEFAULT_MATH_ENVIRONMENTS: &[&str] = &[
"alignedat*",
"array",
"array*",
"Bmatrix",
"Bmatrix*",
"bmatrix",
"Bmatrix",
"bmatrix*",
"Bmatrix*",
"cases",
"cases*",
"CD",
@ -62,14 +62,14 @@ static DEFAULT_MATH_ENVIRONMENTS: &[&str] = &[
"eqnarray*",
"equation",
"equation*",
"IEEEeqnarray",
"IEEEeqnarray*",
"subequations",
"subequations*",
"flalign",
"flalign*",
"gather",
"gather*",
"gathered",
"gathered*",
"IEEEeqnarray",
"IEEEeqnarray*",
"matrix",
"matrix*",
"multline",
@ -82,10 +82,12 @@ static DEFAULT_MATH_ENVIRONMENTS: &[&str] = &[
"split*",
"subarray",
"subarray*",
"Vmatrix",
"Vmatrix*",
"subequations",
"subequations*",
"vmatrix",
"Vmatrix",
"vmatrix*",
"Vmatrix*",
];
static DEFAULT_ENUM_ENVIRONMENTS: &[&str] = &["enumerate", "itemize", "description"];