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