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