Skip to content

How to disable "Unused label" messages (neovim)? #1004

Answered by firubat
firubat asked this question in Q&A
Discussion options

You must be logged in to vote

OK so after asking there, the configuration in LazyVim should be:

{
    "neovim/nvim-lspconfig",
    opts = {
      servers = {
        texlab = {
          settings = {
            texlab = {
              diagnostics = {
                ignoredPatterns = { "Unused label"},
              },
            },
          },
        },
      },
    },
  },

For me it worked only after restarting neovim.

Replies: 1 comment 4 replies

Comment options

You must be logged in to vote
4 replies
@firubat
Comment options

@clason
Comment options

@firubat
Comment options

@firubat
Comment options

Answer selected by firubat
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants