Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
66 changes: 0 additions & 66 deletions vim/.config/nvim/lua/nvim-image-paste/README.md

This file was deleted.

223 changes: 0 additions & 223 deletions vim/.config/nvim/lua/nvim-image-paste/init.lua

This file was deleted.

9 changes: 9 additions & 0 deletions vim/.config/nvim/lua/user/pack.lua
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,15 @@ vim.pack.add({
{ src = github .. "tpope/vim-surround" },
}, { confirm = false })

-- Load the development checkout directly so edits are immediately available.
-- Only install the GitHub package when the local module is absent.
local image_paste = vim.fn.expand("~/src/nvim-image-paste")
if vim.fn.filereadable(image_paste .. "/lua/nvim-image-paste/init.lua") == 1 then
vim.opt.runtimepath:prepend(image_paste)
else
vim.pack.add({ { src = github .. "cmpadden/nvim-image-paste" } }, { confirm = false })
end

vim.api.nvim_create_user_command("PackUpdate", function()
vim.pack.update()
end, { desc = "Update all vim.pack plugins" })
Expand Down
4 changes: 4 additions & 0 deletions vim/.config/nvim/nvim-pack-lock.json
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,10 @@
"rev": "38af0ab56c6eb8757ee6006dd13ab79c2bc11a49",
"src": "https://codeberg.org/andyg/leap.nvim"
},
"nvim-image-paste": {
"rev": "a7c7e4de201048dfee330e5c32e8669184096fbc",
"src": "https://github.com/cmpadden/nvim-image-paste"
},
"nvim-treesitter": {
"rev": "5cb0114e6242625db56dd6440e945ed1ece10bc7",
"src": "https://github.com/nvim-treesitter/nvim-treesitter"
Expand Down
Loading
Loading