Skip to content

Use plugin with vim.pack #558

@romus204

Description

@romus204

Thanks for the plugin, it's great!
I recently switched to the built-in package manager (vim.pack) and would like to know how to use this plugin with it. I'm specifically interested in how to implement server binary updates, if needed when updating the plugin, because if the overwrite flag is not set, the server will not be update?

Right now my path looks as simple as possible, but I think it's not quite what I need.


vim.pack.add({
    "https://github.com/MunifTanjim/nui.nvim",
    "https://github.com/nvim-lua/plenary.nvim",
    "https://github.com/dlyongemallo/diffview.nvim",  -- Maintained fork of "sindrets/diffview.nvim".
    "https://github.com/stevearc/dressing.nvim",      -- Recommended but not required. Better UI for pickers.
    "https://github.com/nvim-tree/nvim-web-devicons", -- Recommended but not required. Icons in discussion tree.

    "https://github.com/harrisoncramer/gitlab.nvim",
})

require("gitlab.server").build(true)
require("gitlab").setup()

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions