Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 0 additions & 4 deletions lua/one_monokai/init.lua
Original file line number Diff line number Diff line change
Expand Up @@ -19,10 +19,6 @@ function M.setup(opts)

config:extend(opts)
themes.load()

if opts then
set.colorscheme "one_monokai"
end
end

return M
10 changes: 4 additions & 6 deletions lua/one_monokai/logs.lua
Original file line number Diff line number Diff line change
Expand Up @@ -4,16 +4,14 @@ logs.error = {
---Display error message.
---
---NOTE: This function receives params that will be passed to `string.format`.
---@param s any
---@param s string
---@param ... any
notify = function(s, ...)
local message = string.format(s, ...)

vim.schedule(function()
vim.notify_once(message, vim.log.levels.ERROR, {
title = "One Monokai",
})
end)
vim.notify_once(message, vim.log.levels.ERROR, {
title = "One Monokai",
})
end,
}

Expand Down
Loading