Switched to using pcall for imports
Signed-off-by: Taken <taken@mairimashita.org>
This commit is contained in:
@@ -1,4 +1,7 @@
|
||||
local comment = require("Comment")
|
||||
local setup, comment = pcall(require, "Comment")
|
||||
if not setup then
|
||||
return
|
||||
end
|
||||
|
||||
comment.setup({
|
||||
padding = true,
|
||||
|
||||
Reference in New Issue
Block a user