local pkg_info = require('package-info') pkg_info.setup() -- Show dependency versions vim.keymap.set({ "n" }, "ns", require("package-info").show, { silent = true, noremap = true }) -- Hide dependency versions vim.keymap.set({ "n" }, "nc", require("package-info").hide, { silent = true, noremap = true }) -- Toggle dependency versions vim.keymap.set({ "n" }, "nt", require("package-info").toggle, { silent = true, noremap = true }) -- Update dependency on the line vim.keymap.set({ "n" }, "nu", require("package-info").update, { silent = true, noremap = true }) -- Delete dependency on the line vim.keymap.set({ "n" }, "nd", require("package-info").delete, { silent = true, noremap = true }) -- Install a new dependency vim.keymap.set({ "n" }, "ni", require("package-info").install, { silent = true, noremap = true }) -- Install a different dependency version vim.keymap.set({ "n" }, "np", require("package-info").change_version, { silent = true, noremap = true })