We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5663202 commit e026466Copy full SHA for e026466
lua/nvim-tree/diagnostics.lua
@@ -41,7 +41,9 @@ local function from_nvim_lsp()
41
42
local is_disabled = false
43
if vim.fn.has "nvim-0.9" == 1 then
44
- is_disabled = vim.diagnostic.is_disabled()
+ -- replacement is_enabled is not present in all 0.10 builds/releases, see #2781
45
+ -- wait until 0.11
46
+ is_disabled = vim.diagnostic.is_disabled() ---@diagnostic disable-line: deprecated
47
end
48
49
if not is_disabled then
0 commit comments