fix(pack): recover from broken HEAD repos during startup
This commit is contained in:
@@ -28,11 +28,15 @@ local function setup_flash(keys)
|
||||
end
|
||||
|
||||
function M.setup()
|
||||
require("plugins.pack").add({
|
||||
local plugins_ready = require("plugins.pack").add({
|
||||
"folke/flash.nvim",
|
||||
{ src = "kylechui/nvim-surround", version = vim.version.range("3") },
|
||||
})
|
||||
|
||||
if not plugins_ready then
|
||||
return
|
||||
end
|
||||
|
||||
local vscode = require("vscode")
|
||||
vim.notify = vscode.notify
|
||||
|
||||
|
||||
Reference in New Issue
Block a user