fix: replace deprecated function
parent
9bd0870f1d
commit
55325053ec
|
@ -49,10 +49,10 @@ local on_attach_def = function(client, bufnr)
|
|||
l = {
|
||||
function()
|
||||
lsp_lines.toggle()
|
||||
if vim.diagnostic.is_disabled() then
|
||||
vim.diagnostic.enable()
|
||||
else
|
||||
if vim.diagnostic.is_enabled() then
|
||||
vim.diagnostic.disable()
|
||||
else
|
||||
vim.diagnostic.enable()
|
||||
end
|
||||
end,
|
||||
"LSP lines",
|
||||
|
|
Loading…
Reference in New Issue