mirror of
https://github.com/LazyVim/LazyVim.git
synced 2025-06-21 16:39:06 +02:00
fix(news): deprecated API
This commit is contained in:
parent
f94a0591b3
commit
f6cd4a38c6
1 changed files with 5 additions and 1 deletions
|
@ -81,7 +81,11 @@ function M.open(file, opts)
|
||||||
vim.opt_local.signcolumn = "yes"
|
vim.opt_local.signcolumn = "yes"
|
||||||
vim.opt_local.statuscolumn = " "
|
vim.opt_local.statuscolumn = " "
|
||||||
vim.opt_local.conceallevel = 3
|
vim.opt_local.conceallevel = 3
|
||||||
vim.diagnostic.disable(float.buf)
|
if vim.diagnostic.enable then
|
||||||
|
vim.diagnostic.enable(false, { bufnr = float.buf })
|
||||||
|
else
|
||||||
|
vim.diagnostic.disable(float.buf)
|
||||||
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
return M
|
return M
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue