Files
neovim/runtime/lua/vim
Marco Hinz 4de404a681 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
2021-04-23 20:09:56 +02:00
..
2018-12-20 11:57:30 +01:00
2020-11-12 22:21:34 -05:00
2020-11-12 22:21:34 -05:00