Overview

Request 935013 accepted

- Update to 0.6.0 (details on
- Diagnostics and LSP changes
Initially, diagnostic module is part of vim.lsp module. In
order to support external plugins such as null-ls.nvim, the
nvim team has refactor the diagnostic module to its module
vim.diagnostic. So we need to change our config accordingly.
vim.lsp.diagnostic.show_line_diagnostics() has been changed
to vim.diagnostic.open_float(). Previously, there is no easy
to show diagnostic source unless with some hack, you can now
show source in diagnostics in open_float() easily:
vim.diagnostic.open_float(nil, {
source = 'always'
})
vim.lsp.diagnostic.goto_prev() and
vim.lsp.diagnostic.goto_next() has been renamed to
vim.diagnostic.goto_prev() and vim.diagnostic.goto_next()
respectively.
vim.lsp.diagnostic.set_loclist() and
vim.lsp.diagnostic.set_qflist() has been renamed to
vim.diagnostic.setloclist() and vim.diagnostic.setqflist()
instead.
Diagnostics signs has been renamed, for example (old –> new):
LspDiagnosticsSignError –> DiagnosticSignError (Lsp is
removed, Diagnostics is changed to singular from
Diagnostic)
LspDiagnosticsSignWarning –> DiagnosticSignWarn
LspDiagnosticsSignInformation –> DiagnosticSignInfo
LspDiagnosticsSignHint –> DiagnosticSignHint
Also, related highlight has been renamed too:
DiagnosticsDefaultError –> DiagnosticSignError

Loading...
Request History
Matej Cepl's avatar

mcepl created request

- Update to 0.6.0 (details on
- Diagnostics and LSP changes
Initially, diagnostic module is part of vim.lsp module. In
order to support external plugins such as null-ls.nvim, the
nvim team has refactor the diagnostic module to its module
vim.diagnostic. So we need to change our config accordingly.
vim.lsp.diagnostic.show_line_diagnostics() has been changed
to vim.diagnostic.open_float(). Previously, there is no easy
to show diagnostic source unless with some hack, you can now
show source in diagnostics in open_float() easily:
vim.diagnostic.open_float(nil, {
source = 'always'
})
vim.lsp.diagnostic.goto_prev() and
vim.lsp.diagnostic.goto_next() has been renamed to
vim.diagnostic.goto_prev() and vim.diagnostic.goto_next()
respectively.
vim.lsp.diagnostic.set_loclist() and
vim.lsp.diagnostic.set_qflist() has been renamed to
vim.diagnostic.setloclist() and vim.diagnostic.setqflist()
instead.
Diagnostics signs has been renamed, for example (old –> new):
LspDiagnosticsSignError –> DiagnosticSignError (Lsp is
removed, Diagnostics is changed to singular from
Diagnostic)
LspDiagnosticsSignWarning –> DiagnosticSignWarn
LspDiagnosticsSignInformation –> DiagnosticSignInfo
LspDiagnosticsSignHint –> DiagnosticSignHint
Also, related highlight has been renamed too:
DiagnosticsDefaultError –> DiagnosticSignError


Factory Auto's avatar

factory-auto added opensuse-review-team as a reviewer

Please review sources


Factory Auto's avatar

factory-auto accepted review

Check script succeeded


Staging Bot's avatar

staging-bot added openSUSE:Factory:Staging:adi:48 as a reviewer

Being evaluated by staging project "openSUSE:Factory:Staging:adi:48"


Staging Bot's avatar

staging-bot accepted review

Picked "openSUSE:Factory:Staging:adi:48"


Dominique Leuenberger's avatar

dimstar accepted review


Saul Goodman's avatar

licensedigger accepted review

The legal review is accepted preliminary. The package may require actions later on.


Dominique Leuenberger's avatar

dimstar_suse accepted review

Staging Project openSUSE:Factory:Staging:adi:48 got accepted.


Dominique Leuenberger's avatar

dimstar_suse approved review

Staging Project openSUSE:Factory:Staging:adi:48 got accepted.


Dominique Leuenberger's avatar

dimstar_suse accepted request

Staging Project openSUSE:Factory:Staging:adi:48 got accepted.

openSUSE Build Service is sponsored by