Switched to using pcall for imports
Signed-off-by: Taken <taken@mairimashita.org>
This commit is contained in:
@@ -1,4 +1,9 @@
|
||||
require("presence").setup({
|
||||
local setup, presence = pcall(require, "presence")
|
||||
if not setup then
|
||||
return
|
||||
end
|
||||
|
||||
presence.setup({
|
||||
|
||||
auto_update = true,
|
||||
neovim_image_text = "The One True Text Editor",
|
||||
|
||||
Reference in New Issue
Block a user