mirror of
https://github.com/neovim/neovim.git
synced 2026-05-23 21:30:11 +00:00
feat(diagnostic)!: deprecate format as a table #39603
This commit is contained in:
@@ -4219,11 +4219,11 @@ describe('vim.diagnostic', function()
|
||||
)
|
||||
end)
|
||||
|
||||
it('uses text from diagnostic.config().status.format[severity]', function()
|
||||
it('uses text from diagnostic.config().signs.text[severity]', function()
|
||||
local result = exec_lua(function()
|
||||
vim.diagnostic.config({
|
||||
status = {
|
||||
format = {
|
||||
signs = {
|
||||
text = {
|
||||
[vim.diagnostic.severity.ERROR] = '⨯',
|
||||
[vim.diagnostic.severity.WARN] = '⚠︎',
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user