Skip to content

Commit 15d282b

Browse files
committedMay 25, 2024
remove unnecessary assignment
1 parent cf0f532 commit 15d282b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed
 

‎lua/nvim-tree/diagnostics.lua

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ end
3939
local function from_nvim_lsp()
4040
local buffer_severity = {}
4141

42-
local is_enabled = false
42+
local is_enabled
4343
if vim.fn.has "nvim-0.10" == 1 then
4444
is_enabled = vim.diagnostic.is_enabled()
4545
else

0 commit comments

Comments
 (0)