diff --git a/changelog.xml b/changelog.xml index e8ec88d4..d0034e92 100644 --- a/changelog.xml +++ b/changelog.xml @@ -28,6 +28,9 @@ Add support for `\counterwithin`, `\counterwithout`, and `\numberwithin` in LaTeX + + Don't ignore second argument of `\setkomavar` in LaTeX + Remove support for magic comments in XHTML diff --git a/src/main/kotlin/org/bsplines/ltexls/parsing/latex/LatexAnnotatedTextBuilderDefaults.kt b/src/main/kotlin/org/bsplines/ltexls/parsing/latex/LatexAnnotatedTextBuilderDefaults.kt index 29169cb8..506c12fe 100644 --- a/src/main/kotlin/org/bsplines/ltexls/parsing/latex/LatexAnnotatedTextBuilderDefaults.kt +++ b/src/main/kotlin/org/bsplines/ltexls/parsing/latex/LatexAnnotatedTextBuilderDefaults.kt @@ -660,10 +660,10 @@ object LatexAnnotatedTextBuilderDefaults { LatexCommandSignature("\\setglossarystyle{}"), LatexCommandSignature("\\setitemize{}"), LatexCommandSignature("\\setkomafont{}{}"), - LatexCommandSignature("\\setkomavar{}{}"), - LatexCommandSignature("\\setkomavar{}[]{}"), - LatexCommandSignature("\\setkomavar*{}{}"), - LatexCommandSignature("\\setkomavar*{}[]{}"), + LatexCommandSignature("\\setkomavar{}"), + LatexCommandSignature("\\setkomavar{}[]"), + LatexCommandSignature("\\setkomavar*{}"), + LatexCommandSignature("\\setkomavar*{}[]"), LatexCommandSignature("\\setlength{}{}"), LatexCommandSignature("\\setlist{}"), LatexCommandSignature("\\setlist[]{}"),