Skip to content

Commit 1894881

Browse files
authored
fix(log): typos in level config and a comment (#1593)
1 parent 28f1317 commit 1894881

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Diff for: lua/neo-tree/log.lua

+2-2
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ local default_config = {
2727
-- Level configuration
2828
modes = {
2929
{ name = "trace", hl = "None", level = vim.log.levels.TRACE },
30-
{ name = "debug", hl = "None", level = vim.log.levels.DEBGUG },
30+
{ name = "debug", hl = "None", level = vim.log.levels.DEBUG },
3131
{ name = "info", hl = "None", level = vim.log.levels.INFO },
3232
{ name = "warn", hl = "WarningMsg", level = vim.log.levels.WARN },
3333
{ name = "error", hl = "ErrorMsg", level = vim.log.levels.ERROR },
@@ -134,7 +134,7 @@ log.new = function(config, standalone)
134134
if level < levels[config.level] then
135135
return
136136
end
137-
-- Ignnore this if vim is exiting
137+
-- Ignore this if vim is exiting
138138
if vim.v.dying > 0 or vim.v.exiting ~= vim.NIL then
139139
return
140140
end

0 commit comments

Comments
 (0)