mirror of
https://github.com/neovim/neovim.git
synced 2025-10-21 17:21:49 +00:00

committed by
GitHub

parent
b79ff967ac
commit
c3a4d12529
@@ -2873,7 +2873,9 @@ end
|
||||
vim.api.nvim_create_autocmd('DiagnosticChanged', {
|
||||
group = vim.api.nvim_create_augroup('nvim.diagnostic.status', {}),
|
||||
callback = function(ev)
|
||||
if vim.api.nvim_buf_is_valid(ev.buf) then
|
||||
vim.api.nvim__redraw({ buf = ev.buf, statusline = true })
|
||||
end
|
||||
end,
|
||||
desc = 'diagnostics component for the statusline',
|
||||
})
|
||||
|
Reference in New Issue
Block a user