Skip to content

Commit 75c0b13

Browse files
authored
chore: remove redundant colorscheme setting (#101)
1 parent 6274d33 commit 75c0b13

File tree

2 files changed

+4
-10
lines changed

2 files changed

+4
-10
lines changed

lua/one_monokai/init.lua

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -19,10 +19,6 @@ function M.setup(opts)
1919

2020
config:extend(opts)
2121
themes.load()
22-
23-
if opts then
24-
set.colorscheme "one_monokai"
25-
end
2622
end
2723

2824
return M

lua/one_monokai/logs.lua

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -4,16 +4,14 @@ logs.error = {
44
---Display error message.
55
---
66
---NOTE: This function receives params that will be passed to `string.format`.
7-
---@param s any
7+
---@param s string
88
---@param ... any
99
notify = function(s, ...)
1010
local message = string.format(s, ...)
1111

12-
vim.schedule(function()
13-
vim.notify_once(message, vim.log.levels.ERROR, {
14-
title = "One Monokai",
15-
})
16-
end)
12+
vim.notify_once(message, vim.log.levels.ERROR, {
13+
title = "One Monokai",
14+
})
1715
end,
1816
}
1917

0 commit comments

Comments
 (0)