valentjn / ltex-ls

LTeX Language Server: LSP language server for LanguageTool :mag::heavy_check_mark: with support for LaTeX :mortar_board:, Markdown :pencil:, and others
https://valentjn.github.io/ltex
Mozilla Public License 2.0
717 stars 33 forks source link

Version 16.0.0 doesn't work with PASSIVE_VOICE #293

Open DennisFeldbusch opened 5 months ago

DennisFeldbusch commented 5 months ago

Describe the bug The newest version 16.0.0 doesn't recognize any passive voice.

Expected behavior

Version 15.2.0 with the same settings as below recognizes the following sentence as passive voice: In order to better evaluate the impact of binomial distribution on the single positions, multiple tests are performed. However, updating to version 16.0.0, all PASSIVE_VOICE warnings disappear.

LTeX configuration

    settings = {
        ltex = {
            enabled = { "latex", "tex", "bib", "markdown", },
            language = "en-US",
            diagnosticSeverity = {
                PASSIVE_VOICE = "warning",
                default = "information"
            },
            sentenceCacheSize = 2000,
            additionalRules = {
                enablePickyRules = true,
            },
        },
    },

Version information