Skip to content

Commit

Permalink
fix(log): typos in level config and a comment
Browse files Browse the repository at this point in the history
  • Loading branch information
al-ce committed Oct 23, 2024
1 parent a77af2e commit 650c33b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lua/neo-tree/log.lua
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ local default_config = {
-- Level configuration
modes = {
{ name = "trace", hl = "None", level = vim.log.levels.TRACE },
{ name = "debug", hl = "None", level = vim.log.levels.DEBGUG },
{ name = "debug", hl = "None", level = vim.log.levels.DEBUG },
{ name = "info", hl = "None", level = vim.log.levels.INFO },
{ name = "warn", hl = "WarningMsg", level = vim.log.levels.WARN },
{ name = "error", hl = "ErrorMsg", level = vim.log.levels.ERROR },
Expand Down Expand Up @@ -134,7 +134,7 @@ log.new = function(config, standalone)
if level < levels[config.level] then
return
end
-- Ignnore this if vim is exiting
-- Ignore this if vim is exiting
if vim.v.dying > 0 or vim.v.exiting ~= vim.NIL then
return
end
Expand Down

0 comments on commit 650c33b

Please sign in to comment.