Skip to content

Instantly share code, notes, and snippets.

@ludvary
Last active July 8, 2024 05:31
Show Gist options
  • Save ludvary/4b9b2bdc8ee98b3f0012ca973c059114 to your computer and use it in GitHub Desktop.
Save ludvary/4b9b2bdc8ee98b3f0012ca973c059114 to your computer and use it in GitHub Desktop.
temp gist, i really have no idea why this is here really
vim.lsp.handlers["textDocument/publishDiagnostics"] = vim.lsp.with(
vim.lsp.diagnostic.on_publish_diagnostics, {
signs = { severity_limit = "Warning", },
virtual_text = { severity_limit = "Error", },
underline = { severity_limit = "Error", },
})
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment