Skip to content

Commit

Permalink
Merge branch 'master' of github.com:ray-x/navigator.lua
Browse files Browse the repository at this point in the history
  • Loading branch information
ray-x committed Nov 18, 2024
2 parents 851c790 + e2e870c commit 496a17d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lua/navigator/diagnostics.lua
Original file line number Diff line number Diff line change
Expand Up @@ -433,7 +433,7 @@ M.hide_diagnostic = function()
end

M.toggle_diagnostics = function()
M.diagnostic_enabled = not vim.diagnostic.enable()
M.diagnostic_enabled = not vim.diagnostic.is_enabled()
vim.diagnostic.enable(M.diagnostic_enabled)
end

Expand Down

0 comments on commit 496a17d

Please sign in to comment.