diff options
| author | Marco Hinz <mh.codebro@gmail.com> | 2021-04-23 20:09:56 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2021-04-23 20:09:56 +0200 |
| commit | 4de404a681426f9d5a1253ca7bc97b075ca14bee (patch) | |
| tree | 7edff9d6344fa595ed4fd9f0724fd41f90741ccf /test/functional/legacy/005_bufleave_delete_buffer_spec.lua | |
| parent | bb33727922ca4549bb3b9b7aaaac1b535154b669 (diff) | |
| download | rneovim-4de404a681426f9d5a1253ca7bc97b075ca14bee.tar.gz rneovim-4de404a681426f9d5a1253ca7bc97b075ca14bee.tar.bz2 rneovim-4de404a681426f9d5a1253ca7bc97b075ca14bee.zip | |
lsp: sort diagnostics by severity (#14372)
Allow to sort diagnostics (and thus signs and virtual text) by severity, so that
the most important message is shown first.
vim.lsp.handlers['textDocument/publishDiagnostics'] = vim.lsp.with(
vim.lsp.diagnostic.on_publish_diagnostics, {
severity_sort = true,
}
)
Fixes https://github.com/neovim/neovim/issues/13929
Diffstat (limited to 'test/functional/legacy/005_bufleave_delete_buffer_spec.lua')
0 files changed, 0 insertions, 0 deletions
