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