Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Neovim: No diagnostic highlighting while in insert mode, only in normal mode. How do I change this? #308

Closed
Eval-99 opened this issue Jun 15, 2024 · 0 comments
Labels
1-question ❓ Issue type: General or specific question about LTeX

Comments

@Eval-99
Copy link

Eval-99 commented Jun 15, 2024

I use the built in neovim lsp and everything works fine when writing code. As I go typing if I make a mistake it gets highlighted immediately but when writing LaTex files the Ltex lsp does not highlight anything until I leave insert mode and go back to normal mode. I read the documentation and it says that checkFrequency is set to "edit" by default but even then I set it in my config and nothing. I don't get diagnostics on every keystroke. Is this intended or a bug?

Here is my config.

require'lspconfig'.ltex.setup({
    settings = {
        ltex = {
            enabled = { "latex", "tex", "bib", "markdown"},
            language = "en-US",
            checkFrequency = "edit",
            completionEnabled = true,
            diagnosticSeverity = "information",
            setenceCacheSize = 2000,
            additionalRules = {
                enablePickyRules = true,
            },
        },
    },
})

OUTPUT

@Eval-99 Eval-99 added the 1-question ❓ Issue type: General or specific question about LTeX label Jun 15, 2024
@Eval-99 Eval-99 closed this as completed Jun 22, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
1-question ❓ Issue type: General or specific question about LTeX
Projects
None yet
Development

No branches or pull requests

1 participant