Skip to content

how to get warning/error as a lsp diagnostic popup instead of another window? #3101

Answered by lervag
niksingh710 asked this question in Q&A
Discussion options

You must be logged in to vote

Ah, no, vim.g.vimtex_quickfix_ignore_filters is a list of strings, not a string. So you want

    vim.g.vimtex_quickfix_ignore_filters = { 'warning' }
    vim.g.vimtex_quickfix_open_on_warning = false

Also, note that you don't need semicolons in Lua.

Finally, I strongly recommend that you read up on options and similar in the docs, e.g. :help vimtex_quickfix_ignore_filters. The docs explain expected type and input for the various options and of course what they do.

Replies: 1 comment 2 replies

Comment options

You must be logged in to vote
2 replies
@niksingh710
Comment options

@lervag
Comment options

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