nvim: use vim.pack
This commit is contained in:
@@ -1,7 +1,12 @@
|
||||
return {
|
||||
opts = {
|
||||
vim.pack.add({ "https://github.com/otavioschwanck/arrow.nvim" })
|
||||
|
||||
local ok, arrow = pcall(require, "arrow")
|
||||
if ok then
|
||||
arrow.setup({
|
||||
show_icons = false,
|
||||
leader_key = "_",
|
||||
buffer_leader_key = " m",
|
||||
},
|
||||
}
|
||||
})
|
||||
else
|
||||
print("plugin arrow missing")
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user