summaryrefslogtreecommitdiff
path: root/lua/plugins.lua
diff options
context:
space:
mode:
authorkylo252 <[email protected]>2021-08-09 19:02:37 +0200
committerGitHub <[email protected]>2021-08-09 19:02:37 +0200
commit405423108fc31981c40116a827e845a1179c9053 (patch)
tree41a7cb23536c982ccdc3402ab9d4602f2538eb40 /lua/plugins.lua
parent625df947dcacf3804f4ec7335478535ecd8219af (diff)
feat: Add an async logger using plenary (#1207)
Co-authored-by: rebuilt <[email protected]>
Diffstat (limited to 'lua/plugins.lua')
-rw-r--r--lua/plugins.lua2
1 files changed, 2 insertions, 0 deletions
diff --git a/lua/plugins.lua b/lua/plugins.lua
index 30f326cc..598e8164 100644
--- a/lua/plugins.lua
+++ b/lua/plugins.lua
@@ -135,6 +135,8 @@ return {
config = function()
local status_ok, nvim_comment = pcall(require, "nvim_comment")
if not status_ok then
+ local Log = require "core.log"
+ Log:get_default().error "Failed to load nvim-comment"
return
end
nvim_comment.setup()